Forums
Home / Fixing WordPress / exclude categories from previous_link
(@jimmmy)
13 years, 5 months ago
Hi,
I am excluding certain categories from my main index, but posts in these categories still show up in the previous / next links after the post. Is there any way to exclude post from particular categories from these links?
Thanks,
Jimmy
(@jpe24524)
Use these: http://codex.wordpress.org/Function_Reference/previous_post_link http://codex.wordpress.org/Function_Reference/next_post_link
(@jimmmy)
13 years, 5 months ago
Hi,
I am excluding certain categories from my main index, but posts in these categories still show up in the previous / next links after the post. Is there any way to exclude post from particular categories from these links?
Thanks,
Jimmy