• kurtvonn

    (@kurtvonn)


    I’m trying to set two columns with five posts in each column, left is one loop, right is the second loop. but I don’t want to specify a category. I want it to open as the selected category, as if i were using a single loop on the page category.php.

    in the left column i want the first five posts from category X, and in the right column the next five posts in cat X.

    I have checked all the Template Tags and the suggestions for Query Posts. i have hundreds of categories and I don’t want to make a custom category-XX.php page for each category.

    any ideas?

    thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • rudolf45

    (@rudolf45)

    Maybe you can go with one single Loop; see this thread:
    http://wordpress.org/support/topic/70275?replies=8#post-369882

    Thread Starter kurtvonn

    (@kurtvonn)

    thank you rudolf. however going with the single loop did not work. i’ve tried all possibilities from the template tags and query posts suggestions, but none work. i end up with current posts on the left and the category on the right.

    the best option seems the index page from the Hemingway theme, but it only works on all posts.

    any ideas on how to customise this for the category page, without specifiying a particular category in the code?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘multiple loops in category.php’ is closed to new replies.