I’m struggling with this and wondering if I am possibly missing something obvious?
My understanding is the the following query should spit out the posts according to their alphabetical order? The thing is, each catagory is a sub of cat 3. What I want to do is simply present all the posts according to their alphabetical order. But, this dosnt seem to be happening.
<?php $my_query = new WP_Query(‘cat=3,-34&orderby=title&posts_per_page=500’); ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<!– Do special_cat stuff… –>
The page – ie, result is here… http://www.reviewrecruiter.com.au/reviews
Am I missing something? Please help, I havnt slept all night on this and I’m about to explode ! 🙂
- The topic ‘WP_Query Problem?’ is closed to new replies.