• Hey guys,

    When I try to show pagination links in this loop, no matter what I set the posts_per_page at I don’t get any pagination and so can’t access the other posts.

    This is an extra query inside a custom post type archive page, btw. This is the only query on the page I’m trying to paginate, everything else is populated into a slider.

    Have I done something wrong?

    $my_query = new WP_Query('post_type=newsmedia&mediatype=article&posts_per_page=2&paged=' . $paged);

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Posts query not giving me any pagination’ is closed to new replies.