Enable custom structured data schema for custom post types
-
I have a CPT called Events. I looked everywhere, but there doesn’t seem to be an option to assign event type structured data with my custom post type (https://developers.google.com/search/docs/data-types/event).
All I can set in the Search Appearance is the Default Page Type (no events present).
I also have a News CPT, and I can set the news to be Collection. But there is no Article type.
I can add the article type using thewpseo_schema_article_post_type
filter and hope this does the trick.Any advice on how to solve this?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Enable custom structured data schema for custom post types’ is closed to new replies.