Viewing 7 replies - 16 through 22 (of 22 total)
  • @solutionsphp you don’t need to copy anything into the functions.php – the code example on my site is if you want to further modify my plugin. Just download my plugin zip, activate it and you’re ready to go. (You may need to refresh the sitemap from the admin panel).
    Mark

    Great plugin plugin guar!
    Any way to modify the priority of the custom post types (in my case they are hierarchical post types; does the plugin consider them pages?)

    Thanks!

    quar plugin work great with google xml sitemap 3.2.4 + custom post type

    but arne’s 4.0b3 beta doesn’t work with custom post type — it work only with default wordpress post format = (gallery + aside), my custom ex movie, video not work ..

    Hi all,

    We found this thread while looking for our answer and it turns out that the XML-Sitemap plugin already allows you to add Custom Post Types (kind of…).

    You just need to add your CPT pages manually.

    Learn how we did it here:
    https://wpmodder.com/how-to-add-custom-post-type-to-xml-sitemap-generator-1206.html

    Hey Adam, I am afraid but what you suggest is not a solution of the problem. This may work if you have a custom post type with like 5 posts, so doing it manually for every post is not a big deal. But what about 100 or 1000 posts? Arg!

    @dirk.S,

    You’re right, this is a solution but involves too much manual intervention with more than a few CPTs.

    After posting my solution I was notified of a couple of others that would work better for many CPTs…

    1. A function that specifically adds them:
    https://www.getupandrunning.net/2010/06/adding-custom-content-types-to-the-sitemap/

    2. Using Joost’s SEO plugin for WP which has this feature built-in:
    https://yoast.com/wordpress/seo/#xml-sitemap

    There is another plugin somewhere that hooks into the XML-Sitemap Generator plugin too, but I can’t seem to find it at the moment.

    There is always more than one solution;)

    the plugin from guar worked perfectly, except one problem.

    The priority being assigned to all my posts is 90%, the priority for custom post types is 60%. Is there a way to change the priority for the custom post types or does it not matter?

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘[Plugin: Google XML Sitemaps] Support for Custom Post Typs’ is closed to new replies.