Hey guys, I am trying to see if there's a way to filter the bottom navigation, My theme is using this code below and I want to restrict the navigation to only the same category as the single post is on. I am using seperate post templates so it would make sense if people could only browse through related posts instead of random things.. Hope this makes sense, here's the code for that..
<div id="nav-below" class="navigation">
<div class="nav-previous"><?php previous_post_link(__('« %link', 'blogtxt')) ?></div>
<div class="nav-next"><?php next_post_link(__('%link »', 'blogtxt')) ?></div>
</div>
And then another thing is right now my categories, again for single post, display something like:
View more Sweatshirts, Blue
and I am trying to make it into something like
View more Blue Sweatshirts
or if not I want at least
View more Sweatshirts
because some have 2 subcategories..I cannot get the "the_category" tag to only show 1 category.. It's always multiple ones, I thought having the word single in it (for example: <?php the_category(' / ',',single,') ?>) but that didn't work either!
Any help would be greatly appreciated.