I am using Simply Exclude to make sure that certain categories do not show up on the home page and in the sites main feed, http://example.com/feed. However, excluding the category from the main feed also excludes posts from the category's feed, http://example.com/category/category-73/feed/. How do I get it so that the main feed has these categories excluded but the category's feed remains populated?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
It took me a while but I figured it out, I just placed this in mu functions.php file:
I found that I couldn't use the remove filter function because I did not have access to the original class variable that was used to set the filter in the first place so going into the filer's global variable and unsetting the array manually was the next best option. |
|||
|
|
