↧
Answer by Golu for Wordpress post category out of the loop but in the rss feed
You need to exclude the feed (edit page templates also) page from your if condition function excludeCat($query){ if ($query->is_home() && !is_page()) { $query->set('cat', '-14, -64, -68,...
View ArticleWordpress post category out of the loop but in the rss feed
in my website, done with wordpress, I have this function for excluding some category from appearing in homepage:function excludeCat($query) {if ( $query->is_home ) {$query->set('cat', '-14, -64,...
View Article