I was looking at this bit of code -> http://digwp.com/2010/03/wordpress-post-content-multiple-columns/ and specically step 4.
Now that’s perfect for what I want to achieve for my home page of articles, but I want to also use multiple loops on each category page too.
How can I do that?
Just add category parameters to the queries.
[Check Here](https://codex.wordpress.org/Class_Reference/WP_Query “Check Here”)
Under “Category Parameters”
what if I don’t know the category id?
category_name using the slug not good enough ?
Sorry, I’m just confused as to what to put. WordPress is still pretty heavy going for me.
Do I add it to query_posts(); code?
That would be correct. Something like
< ?php query_posts('showposts=5&category_name=my-category-slug'); ?>
Right, suppose my next question is, how do I make the my-category-slug dynamic?
You must be logged in to reply to this topic.