• Resolved miczh111

    (@miczh111)


    Dear Developper

    I tried the filtering options by post id and that works perfectly. Then i tried to filter posts by taxonomy term so that they don’t show up in posts sitemap, but didn’t get it to work. Is there already an existing filter function or do i have to do it by mysql request manually? If yes and this is possible, could you provide an example?

    Thank you and best regards
    Michael

    https://www.ads-software.com/plugins/bwp-google-xml-sitemaps/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Khang Minh

    (@oddoneout)

    Yes for now you have to use a custom query via a custom module, for more info: https://betterwp.net/wordpress-plugins/google-xml-sitemaps/#module_api

    For an example you can take a look at wp-content/plugins/bwp-google-xml-sitemaps/includes/modules/post.php.

    This feature will be added by default in version 2.x of the plugin, please follow updates here: https://github.com/OddOneOut/bwp-google-xml-sitemaps/issues/13

    Thread Starter miczh111

    (@miczh111)

    Dear Khang Ming

    Thank you for your answer! I will try it out as soon as possible.

    Is there already a planned release date of version 2.0?

    Best regards
    Michael

    Plugin Author Khang Minh

    (@oddoneout)

    Probably in Q1 2016, just check back often in the above link I will update the milestone whenever possible.

    Stay tuned!

    Plugin Author Khang Minh

    (@oddoneout)

    Hi again,

    This feature is now available in 1.4.0 (thanks to you I’ve decided to add it to 1.4.x!). Navigate to BWP Sitemaps >> XML Sitemaps >> Exclude items to customize.

    Please update and let me know.

    Thread Starter miczh111

    (@miczh111)

    Hi Khang Minh

    Awesome! I will check it out as soon as possible when i have updated my site.

    Thank you and best regards
    Michael

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Exclude posts by taxonomy?’ is closed to new replies.