My category navigation is set to TRUE, but it's still pulling in all posts
-
I have 3 categories with templates for the header, etc set for different areas on the site. This works fine except for the archives.
I created 2 different single post templates (using a plug in) bc these different areas of different headers and sidebars.
But once you are looking at the single pages of these posts, the navigation doesn’t just do the same category. It pulls from all posts.
I set the category to true. I tried to add an exclude category, but I am not sure of the correct way to write the code.
Any help?
Here is a link to one of the single posts
https://www.vividsolutionsdc.com/newsite/la-femme-davine/Here is the code for the post nav
<div class="navigation"> <div class="alignleft"> <?php next_post_link($format='%link »', $link='%title', $in_same_cat = true); ?></div> <div class="alignright"><?php previous_post_link($format='%link »', $link='%title', $in_same_cat = true); ?></div> </div>
- The topic ‘My category navigation is set to TRUE, but it's still pulling in all posts’ is closed to new replies.