I created a category and call it "Blog". Then I created some posts and assign "Blog" as category for the posts. So I'm trying to go to previous/next into the same category and doesn't work. Here is my code:
<nav id="nav-single"> <span class="nav-previous"><?php previous_post_link('%link', __('<span class="meta-nav">←</span> Previous'), TRUE); ?></span> <span class="nav-next"><?php next_post_link('%link', __('Next <span class="meta-nav">→</span>'), TRUE); ?></span> </nav><!-- #nav-single -->
None of the links is being displayed even if I have more than one post created. If I remove the TRUE value then it goes to other categories. What am I doing wrong?