Previous / Next Page in List? (4 posts)

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

  2. Joshua Sigar
    Posted 11 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
    Posted 11 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
    Posted 11 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


No tags yet.