my index page has multiple categories on there.. i want each category to display it’s new posts in the corresponding section/list. i’ve looked at codex but the stuff on there is way over my head. can someone walk me through this or have a really simplified site for help?
Hey Robski, how about the $my_query = new WP_Query() method and the get_post() method? I know the new WP_Query eliminates rewind and reset, I use that on my site to list posts from specific categories on certain related page pages. The get_post() method I haven’t played with yet but apparently it eliminates multiple query issues as well.
As usual though, in WordPress there are numerous ways to get something done and this leads to confusion. I wish I could find an article explaining why and when you would use the different methods!
Actually, you don’t want to use query_posts to do multiple loops on one page. WP_Query is the most versatile solution. The best article on the subject of when / how to use which loop method is actually on CSS-Tricks’ sister site, DigWP.