Support » Alpha/Beta/RC » posts_nav_link issue

  • Resolved wizardfusion


    Can someone confirm what I am seeing please…

    I have the following code in a search results page…

    <div class="alignleft"><?php posts_nav_link('','','Previous') ?></div>
    <div class="alignright"><?php posts_nav_link('','Next','') ?></div>

    As you can see the posts_nav_link has two missing options for each line. In the first, I am missing “sep” and “prelabel”. In the second I am missing the “sep” and “postlabel”. I am sure you can see why.

    The results I am getting are…
    ยซ Previous Page โ€” Previous and Next โ€” Next Page ยป
    If I replace the missing options for spaces, I get the correct result of Previous and Next

    It’s not an issue as such, but the documentation does say optional, which is why is confused me.

    This can be seen on my 3.0.5 site too…
    This search results page shows two nav sections at the bottom. The first one is with spaces added, the second without.


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