Wordpress SEO - What are you looking for?

If you're looking for answers to SEO or wordpress related questions, type in a phrase and wait for hints or click enter! The results also show links to external sources.

161 articles in the database

All posts tagged rss excluding entries

How to exclude posts from specific categories from RSS

Today I will show you how to exclude from your site's RSS feed entries located in a given category without using a plugin. To do it, we have to put the following code in functions.php file: function rssex($query) { if ($query->is_feed) { $query->set('cat','-38,-1′); } return $query; } add_filter('pre_get_posts','rssex');

SEMRush - the best tool for SEO and PPC.

en_USEnglish