The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Category page navigation (2 posts)

  1. nathanbunn
    Posted 4 years ago #

    I have been using this forum post in aiding me to display all of the posts I have from one category:


    The codes work perfectly, except I can't seem to get the page navigation links working. I have page navigation links appearing, they link to the right pages and they disappear when needed, but they don't affect the posts that are displayed. The code I am using for my page is listed in http://wordpress.org/support/topic/display-the-posts-of-one-category-in-a-page-solved#post-978142. In fact, none of the codes I have used from this page have had working page navigation links. Can anyone give me any help on this front?

  2. Michael
    Forum Moderator
    Posted 4 years ago #

    add the pagination parameter to the query;


    <?php query_posts('category_name='.get_the_title().'&post_status=publish,future&paged='.get_query_var('paged'));?>

Topic Closed

This topic has been closed to new replies.

About this Topic