If Next_Posts_Link is Null?
-
I’ve got this function:
<?php next_posts_link( __( ‘<span class=”meta-nav”>←</span> Older posts’) ); ?>
It creates a link if there are older posts. How do I do something on the condition that there are no older posts? Anything I do that uses this function only seems to echo the link.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘If Next_Posts_Link is Null?’ is closed to new replies.