Quantcast
Channel: Wordpress post category out of the loop but in the rss feed - Stack Overflow
Browsing latest articles
Browse All 2 View Live

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 Article


Wordpress 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

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>