Greying out text after reaching the end of category navigation?
-
Great plugin. Very nice to navigate within the categories. However I lose my grayed out text when the navigation reaches the end of it’s category search. It will however reappear if it reaches the last or first post of the entire blog.
<?php if (get_previous_post(false) != null): ?> <?php previous_post_smart( '%link', 'Previous ?' ); ?> <?php else: ?> Previous ? <?php endif ?>
Seems the ?php else: ? isn’t enough? Any suggestions to make the text pop up after hitting the last posts within the category?
It’s not that important, and I’m not very good and rewriting, with but would be nice if there’s an easy solution.
Thanks.
- The topic ‘Greying out text after reaching the end of category navigation?’ is closed to new replies.