[Resolved] Taxonomy on a custom object type
Hello, I have a custom taxonomy registered on a custom object. Initially it was not showed in the plugin administration panel, but I changed the function “GetCustomTaxonomies” in this way:
From: $taxonomies = get_object_taxonomies(‘post’);
To: $taxonomies = get_object_taxonomies(get_post_types(array(“public”=>1)));
This way the custom taxonomy on any custom type is correctly detected.
The problem is that, even if the “Include taxonomy pages for xxx” option is now showing in the admin page, and the debug page is correctly showing my custom taxonomy in the “sm_in_tax” array, the urls are still not included in the sitemap.
Am I missing something? Can someone help me?
- The topic ‘[Resolved] Taxonomy on a custom object type’ is closed to new replies.