Quantcast
Channel: How to use has_archive but disable feed per post type? - WordPress Development Stack Exchange
Viewing all articles
Browse latest Browse all 4

Answer by Ian Dunn for How to use has_archive but disable feed per post type?

$
0
0

I haven't tested, but it should be as simple as:

register_post_type( 'slug', array('has_archive' => true,'rewrite' => array('slug' => 'slug','feeds' => false,    ),);

Viewing all articles
Browse latest Browse all 4

Trending Articles



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