Check if there are previous entries
-
I need to do something like this:
<?php
$navavailable == next_posts_link('« Previous Entries');
if ($navavailable != "")
{ ... }
?>But as I thought, the code in the if statement is displayed . Is there any way to check if there are ‘previous entries’ using that wordpress tag?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Check if there are previous entries’ is closed to new replies.