Support » Fixing WordPress » Previous / Next post links

  • Resolved thejonson


    On my site, I’ve setup a couple of previous/next buttons using:

    <div id="footer_nav">
        <div class="pevious_post"><?php previous_post_link('%link', '<span class="ui-icon ui-icon-circle-triangle-w"></span> Previous', TRUE); ?></div>
        <div class="next_post"><?php next_post_link('%link', '<span class="ui-icon ui-icon-circle-triangle-e"></span> Next', TRUE); ?></div>

    And this works, but they only cycle through that category, which means on the front page you might see articles 1-20, but when using the navigation you go 1,2,12,15,20 not 1,2,3,4,5 etc.

    So I guess what I;m asking is can the previous_post_link & next_post_link be configured to look at the whole site, not just the current category.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Previous / Next post links’ is closed to new replies.