Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » RSS, Feeds & Subscribing »

[SOLVED] Exclude Category from RSS


 
Prev Previous Post   Next Post Next
  #1  
Old Sep 28, 2012, 01:16 PM
theadventurebite
 
136 posts · May 2010
[SOLVED] Exclude Category from RSS

Trying to exclude a category from the RSS feed. Not having any luck with plugins or this function in the functions.php:

Code:
function myFeedExcluder($query) {
 if ($query->is_feed) {
   $query->set('cat','-98');
 }
return $query;
}
 
add_filter('pre_get_posts','myFeedExcluder');
I don't see Atahualpa using the standard commands they are using here.

Ideas?
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exclude category from Recent Posts in sidebar paulae Sidebars & Widgets 17 Apr 9, 2013 08:34 AM
[SOLVED] How to exclude category menu from static pages kitfreeman Page & Category Menu Bars 3 Feb 25, 2012 07:58 PM
Hide the side bar but have no page, post or category ID to exclude. rainbowjammer Sidebars & Widgets 1 Jan 15, 2012 11:04 AM
How to exclude category menu bar from certain pages? suzannlarsen Page & Category Menu Bars 2 Jul 2, 2010 12:44 PM
Category Excluder Sidebar invisible hidden exclude Neil Grayson Forum How-To 1 May 25, 2009 07:02 PM


All times are GMT -6. The time now is 11:24 PM.


Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.