• Hi,
    I have a basic wordpress blog that has only a theme and calendar. Nothing else. On my index WordPress page (https://site.com/blog) the Next / Previous links are showing at the bottom of the page normaly.And if I press the next or previous link the links continue to show on the that page.

    But when I press a date in the calendar or an event listed under the calendar the Next / Previous links are NOT showing up.

    So the next/previous links work when the post is shown like this:
    site.com/blog/?paged=2

    And the next/previous links are not showing when…
    The calendar get′s a page via like this (date):
    site.com/blog/?m=20090202
    The event link is like this:
    site.com/blog/?p=126

    How can I fix this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • It’d be to do with your single entry template.

    Somewhere in your post loop you could use something like –

    <div class="navigation">
    			<div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div>
    			<div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
    		</div>
    Thread Starter skuliaxe

    (@skuliaxe)

    Thanks for the quick reply.

    My index.php and single.php include the following lines:
    <div class="post-nav"><span class="previous"><?php next_posts_link('Older Entries') ?></span><span class="next"><?php previous_posts_link('Newer Entries') ?></span></div>

    Both index.php and single.php are exactly the same, line by line.

    Thread Starter skuliaxe

    (@skuliaxe)

    I just found out that the next/previous links appear only when there are two or more posts on a given day.I usually only have one post per page and am only showing one post per page.

    I also changed the permalink but again, the links are not working.

    Working:
    site.com/blog/page/”number”

    Not working:
    site.com/blog/2009/02/20/”post”

    Any thoughts?

    What’s the permalink structure?
    What’s your blog address?

    Thread Starter skuliaxe

    (@skuliaxe)

    Hi ??

    The permalink structure is set by month and date:
    https://site.com/blog/2009/02/sample-post/

    My blog is actually a diary that requires a user:password.
    There′s some personal stuff there (in Icelandic) so I would prefer to send you a link and access via email.

    Switch to the default theme template and see if the problem is still there.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Previous/next links missing on some pages’ is closed to new replies.