Forums

WP-PAGENAVI and Reserve ORDER not working together (3 posts)

  1. ytsirklin
    Member
    Posted 1 year ago #

    I am using WP-PAGENAVI (great tool) and it was working great until I reversed the order of posts.

    In order to reverse the page order I entered the following string in category-video.php

    <?php query_posts($query_string."&orderby=date&order=ASC"); ?> before the line that says <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    Interestingly enough before I reversed the order everything worked great. In addition, when I look at the rendered HTML, the page navigation is generated in the DIV. However, after reversing the order, the DIV in the generated HTML is blank - just the start and end tags for the DIV

  2. ytsirklin
    Member
    Posted 1 year ago #

    Additional information. It now looks like pagenavi and role scoper are not playing nice. I deactivate role scoper and it works. Any thoughts, because I need to use role scoper.

  3. kevinB
    Member
    Posted 11 months ago #

    I haven't been able to confirm this and haven't heard back from ytsirklin after the support request on my forum. Maybe it's an installation-specific issue; I don't know what category-video.php is.

    With PageNavi and Role Scoper installed on my test system, index.php?order=ASC gives the expected results (paging links appear properly).

Topic Closed

This topic has been closed to new replies.

About this Topic