Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter timovinyl

    (@timovinyl)

    I just restored the original archive.php from the SPUN theme and JUST added the line:

    <?php query_posts($query_string. “&order=ASC”); ?>

    It does not work. What am I doing wrong?

    I’m not able to create a query with wp_query – I know too little about PHP and wordpress and don’t get the codex unfortunately.

    Thread Starter timovinyl

    (@timovinyl)

    Thanks for your reply.

    As far as I know (I am more of a beginner to be honest) I am not using a child-theme. I just installed SPUN and use it like this.

    Okay, so I will use the archive.php and delete the category.php again.

    Maybe the problem is something about how I display the posts in the loop itself.

    I will try to recover the archive.php, add the query to change the order and then step by step change the way the loop prints out the posts.

    Thread Starter timovinyl

    (@timovinyl)

    Caroline, thanks for your reply!

    I tested it with twentyeleven and it worked. Then I copied the category.php from twentyeleven to my spun directory and there it didn’t work. That is why I assumed it was a problem with the theme.

Viewing 3 replies - 1 through 3 (of 3 total)