Simple IF statement help
-
Hi I have this code:
if (...) { echo '<li>'; previous_posts_link($pagenavi_options['prev_text'], $max_pages); echo '</li>'; }
I’m wanting to add some code where it says … that will detect the previous_posts_link function running before running the code. This is to prevent WordPress running the echos when the previous_posts_link is empty ie. their isn’t a previous set of posts!
THANKS
Viewing 15 replies - 1 through 15 (of 15 total)
Viewing 15 replies - 1 through 15 (of 15 total)
- The topic ‘Simple IF statement help’ is closed to new replies.