The events calendar events not being excluded
-
Hi, Thanks for this wonderful plugin!!! I have been having issues exluding The events calendar events from sitemap.xml, I have added noindex to the post_type, to the event itself, event used this filter:
add_filter('the_seo_framework_sitemap_supported_post_types', function ($post_types) { return array_diff( $post_types, [ 'tribe_events' ] ); });
but nothing seems to work, the events keep appearing on the sitemap.xml even when they are in the trash can, do you know what could be happening?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘The events calendar events not being excluded’ is closed to new replies.