previous_posts_link next_posts_link not displayed
Actually, there is no such template tag as you posted.
You should use http://codex.wordpress.org/Template_Tags/posts_nav_link
to display the next/prev navigation on multipost views.
Thanks moshu. I read that page and tried the following example code:
<p>above</p> <div style="text-align:center;"> <?php posts_nav_link(' · ', 'previous page', 'next page'); ?> </div> <p>below</p>
However, this just give me the following:
With the source code:
<p>above</p> <div style="text-align:center;"> </div> <p>below</p>
As before, the links don’t show up.
Anyone have any idea why not? I’d really like to be able to reach more than 5 search results.
- The topic ‘previous_posts_link next_posts_link not displayed’ is closed to new replies.