Skip to:

Remove forums from sitemap

  • Ernie


    I am developing a sitemap for a client on a dev site that is not publically accessible. On the site are several custom post types including Forums, Topics and Replies which I added to the site using a standard wp_query with post_types set to list all custom post types.
    Some of these custom post types the client does not want included on the sitemap. So changing the “public” parameter to “false” I was able to remove selected ones that were created with the Custom Post Type plugin. However I cannot come up with a way to changing this on custom post types generated by the bbpress plugin without modifying the main bbpress.php plugin file.

    New to working with bbpress so any suggestions would be appreciated.

  • You must be logged in to reply to this topic.
Skip to toolbar