• Excuse my dumbass, but what file is it that i can go to, to define the posts_nav_link??? I want previous and next visible on my index, albiet next not active because next is the future..
    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • You would make the changes to your index.php.
    Regards

    Thread Starter ayteale

    (@ayteale)

    Damn, really?! I’ve been messing with that, but cant figure it out so I figured (and a web friend of mine figured) that there must be a file that defines what that does….anyway, thanks for the quick reply and if anyone knows how to do what I need, I would appreciate any help.
    \Thanks

    IT looks like this in the index.php:

    <p class="postnav"><?php posts_nav_link('::','<- Previous Page ', ' Next Page ->'); ?>

    The first parameter sets the delimiter – the stuff that goes between the two links. The Second parameter is the “prev page” link., goes forward in time. The third parameter id the “next page” link and goes “back” in time. Feel free to play with the text of those links and see what you can do….. unless there’s something more I don’t get.
    TG

    Ok, I put this part on my index.php file, but it still isn’t showing up as the next page? or a previous page either. All it shows in the source code is this: <p class=”postnav”>
    How do I get it to show up?

    Go to the admin panel, Options > Reading – and set posts paged.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘where is posts_nav_link?’ is closed to new replies.