Support » Plugin: XML Sitemap & Google News feeds » Excluding pages and selected post types

Viewing 1 replies (of 1 total)
  • Plugin Author RavanH


    Hi, there is a new version in the pipeline that will feature this on an options page but currently, you can only do the following. Set in your wp-config.php :

    define('XMLSF_POST_TYPE', 'post,page')

    Append any custom post types (comma separated) that you do want in the sitemap. Leave out custom post types that you do not want there 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Excluding pages and selected post types’ is closed to new replies.