• I noticed that my site has a problem when I try to go to the last page of post with the “Older Entries” link if the Permalink Setting is anything else but “Default”: http://www.voidtrance.net/page/3/

    If I revert back to “Default”, then the last page works correctly. I have not been able to find any information on this subject so any help would be appreciated.

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • What template tags are being used to generate the Older/Newer links in your theme’s index.php file?

    Thread Starter voidtrance

    (@voidtrance)

    The index.php file is empty. I am using the Arras Theme 1.3.6. The file that contains the code is home.php.

    I am not entirely sure what template tags you are asking but the code that generates the links is:

    <div class="floatleft"><?php next_posts_link( __('Older Entries', 'arras') ) ?></div>
    <div class="floatright"><?php previous_posts_link( __('Newer Entries', 'arras') ) ?></div>

    I’ve not used Arras at all, but since the navigation link are standard WP template tags, the fault may lie in the Loop management. If there are multiple Loops in home.php, perhaps they’re not being reset correctly? You could try inserting <?php wp_reset_query();?> before the second and any subsequent custom query. But bear in mind that this is just a guess on my part.

    Thread Starter voidtrance

    (@voidtrance)

    Well, thank you for the suggestion but it doesn’t seem to be the problem.
    The theme does do a ‘wp_reset_query()’ before doing a ‘query_posts’.

    Thread Starter voidtrance

    (@voidtrance)

    Bump.

    Any help/advise?

    Thread Starter voidtrance

    (@voidtrance)

    Another bump.

    Doesn’t anyone have any ideas?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘“Older Entries” for last page does not work’ is closed to new replies.