• It has been over a week since I posted this request, so I think I’m safe in reiterating it again, for someone who can help me to take it one step further.
    I’m trying to get the previous/next tag (<?php posts_nav_link(‘separator’,’previous’,’next’); ?>) to display a chronological navigation. Using this tag in index.php, the “next” link is looping back to the first post in the weblog. BTW, my weblog is set at “1 posts paged”.
    I would like the “next” link to not do that. In fact, I would not like it to show on the index.php page, but show on all other pages. I would, however, like a “previous” link on the index.php page that goes back chronologically. So, I guess there are two requests here: get rid of the “next” link and add a “previous” link to the index.php page.
    In the aforementioned thread, it was suggested that I do something with an if else combination:

    Something like :
    (in your index.php file)
    If current page is “index.php” (and nothing else after that address…)
    then echo <?php posts_nav_link('seperator','previous',''); ?>
    else echo <?php posts_nav_link('seperator','previous','next'); ?>

    I have no idea how to do this. So, I am asking for some help, please.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I have that plugin installed and love it for archives. I’m looking for a navagation from the index.php file. Ideally, it would be integrated into the archives (and categories) navagation. However, at this point I’d be happy with something just from the index.php page.

    Thread Starter pezastic

    (@pezastic)

    That was me. Sorry, forgot to log in. The scriptygoddess plugin is for archives and gives links to the previous/next month, not individual posts. I’m looking for something that provides a chronological navigation from index.php and beyond.

    So am I. I think, if I know what you’re saying. ??

    I write long entries, and I am importing my blog from MT. I would like to perhaps only have one entry on the main page and link back to archive/permalink of the previous.

    I’m not getting the Wiki explanation of it all THAT much.

    Thread Starter pezastic

    (@pezastic)

    Join the club. I’ve been hoping someone would make a global navigation system ever since I began using Wp over a year ago.

    Thread Starter pezastic

    (@pezastic)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Global Previous/Next Links – How?’ is closed to new replies.