Hi,
is there any support for custom post types ?
At the moment there are no links of my custom post types in my sitemap.
http://wordpress.org/extend/plugins/google-sitemap-generator/
Hi,
is there any support for custom post types ?
At the moment there are no links of my custom post types in my sitemap.
http://wordpress.org/extend/plugins/google-sitemap-generator/
I noticed the same. Hopefully it will get fixed soon.
Pending a formal fix, I have created a plugin to plugin the plugin which you can get at: http://www.getupandrunning.net/2010/06/adding-custom-content-types-to-the-sitemap/
Note: it doesn't sort the multi-site issue.
Yeah! That's what I was looking for right now! ;)
I just wrote an email to the author of the plugin and asked him, if it will be a feature in the future.
Thx @guar :)
Same here, I need this for a site I have just launched.
For now, I added some of my pages manually... Not perfect but at least the info gets to the map. I hope this gets fixed soon.
Does anyone know if there is a sitemap plugin that does include the post types?
@guar thanks dude! that's really helpful! Quick question: do you know how to update the "change frequency" of just 1 page?
@chocks It's not set up to do that. The settings page only lets you set certain types of posts.
In other news: I've updated my plugin plugin to honour excluded PostIDs and Categories for Custom Content Types. You can get the update from my site at: http://www.getupandrunning.net/2010/06/adding-custom-content-types-to-the-sitemap/
If you want to patch the plugin directly to support custom post types, look at http://www.humbug.in/aside/adding-custom-post-types-to-sitemap/. However guar's solution is more elegant. Found his solution after I wrote the post :(
Anyone knows anything form the author? future plans etc?
Next version will support it, see here:
http://wordpress.org/support/topic/plugin-google-xml-sitemaps-early-testers-wanted
If you're testing the new official release from @arnee and had installed my custom post type fix, you had better deactivate mine or else the universe may go spiralling out of control.
Thanks
So still no custom post type support other than guar's fix?
looks like guar's still the way to go
[much appreciated, btw]
[/verymuch]
Hmm, guar's solution doesn't seem to work for me. I'm using WordPress 3.1.1 with the Backstage theme from WooThemes. I put the code in the functions.php file, and regenerated the xml file, but the custom post types don't show up in the sitemap.
I tried the beta plugin but it failed at generating the XML file completely.
http://wordpress.org/support/topic/plugin-google-xml-sitemaps-early-testers-wanted?replies=157
@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:
http://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:
http://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:
http://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?
This topic has been closed to new replies.