• Hi there,

    I’m working on an issue for a friend who seems to have a problem with his page navigation.

    At the bottom of the site there are page links that should (in theory) allow users to cycle through previous posts. However, when these page links are clicked, all you keep getting is the first four posts.

    I’ve disabled the wp page navi plug-in, but it still doesn’t work, thus eliminating the the plug-in as a suspect.

    Any ideas? I’m thinking it may be the php query function, and not the blog settings, but I’m still learning WordPress and can’t be certain.

    Any help or direction would be highly appreciated.

    Thank you ??

    Kind regards,
    Owen

    Site: kenlavigne.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter oweninnamibia

    (@oweninnamibia)

    No WP-Love?

    Have you tried using the default permalinks? Or switching temporarily to the default theme in case it’s a theme issue?

    Thread Starter oweninnamibia

    (@oweninnamibia)

    It does seem to be the theme, as I switched to the default WP theme and the pagination seemed to kick-in.

    Something tells me this is going to be a code issue that takes time to work-out.

    In terms of the WP-CODEX, is there a .php file that primarily controls the pagination?

    Here’s where I think the issue may lie:

    wp-includes/blogstyle.php

    <?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); }
    else { ?>
    <p class=”pagination”><?php next_posts_link(‘« Previous Entries’) ?> <?php previous_posts_link(‘Next Entries »’) ?></p>
    <?php } ?>

    In terms of the WP-CODEX, is there a .php file that primarily controls the pagination?

    The post pagination is controlled by the two template tags previous_posts_link and next_posts_link.

    You need to be looking at index.php within the theme to see if these are being used correctly. I’m also wondering if you have a permalink problem…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Will not show archived posts’ is closed to new replies.