• Resolved creativelifeform

    (@creativelifeform)


    Hi all,

    I am wondering if there is a way to display a specific post range order using WP_Query.

    For example I have two columns on the page, the right column is the main column and will display the latest posts in the category (let’s say 5) so my function looks like this

    <?php $my_query = new WP_Query('cat=6&showposts=5'); ?>

    but, in the left hand column I want to display 10 posts, but only 10 which come AFTER the fifth. So something like

    <?php $my_query = new WP_Query('cat=6&showposts=6-10'); ?>

    I know that looks weird but maybe it will illustrate my point better.

    Any help greatly appreciated. Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to display specific post order’ is closed to new replies.