the next_post_link() and the posts_nav_link not working at all
-
Hi,
I placed the following codes in the single.php within the loop. But they do not display anything.
<div style=”text-align:center;”>
<?php posts_nav_link(‘ · ‘, ‘previous page’, ‘next page’); ?>
</div><div><?php next_post_link(‘%link‘); ?></div>
I double checked it and the both functions exist in the template-functions-links.php under the wp-include directry, left intact as the default. The is_single() in the function.php is also untached.
When I look at the html source code of the entry page, the first one returns
<div style=”text-align:center;”></div>
And the second one is
<div></div>
The echoing process seems not to be present here. What does it mean?
I appreciate your information.
- The topic ‘the next_post_link() and the posts_nav_link not working at all’ is closed to new replies.