WordPress.org

Forums

Previous / Next Page in List? (4 posts)

  1. Mark (podz)
    Support Maven
    Posted 10 years ago #

  2. Joshua Sigar
    Member
    Posted 10 years ago #

    If everything else fails, you could always go down to the source code and modify it.
    The original function was probably designed to be used only once in one container, and it will never be empy 'cause either or both will always show up.

  3. marky
    Member
    Posted 10 years ago #

    Well, modifying the code isn't really acceptable for me, since I like to upgrade WP often to the latest nightlies (and don't really want to change the code every time).
    Personally, I'm a little surprised this function is so inflexible, since the next_post and previous_post functions are so robust.

  4. Joshua Sigar
    Member
    Posted 10 years ago #

    You could save the modified code somewhere else, e.g. in my-hacks.php, with different function name, of course, and call that from your index.php

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.