Skip Navigation

[Resolved] Removing default wordpress microdata for custom post content templates

This support ticket is created 7 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Shane 7 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#552679
Structured_Data_Testing_Tool.png

Currently WordPress attaches the default content template to the body and the container in which toolset displays the custom post template.

Through JSON-LD it has never been easier to add my own microdata to explain what I am displaying.
However, wordpress wraps all that in it's own microdata called CreativeWork.

How can I remove that microdata, but ONLY for custom post content templates (which I create within Toolset)

I have attached an example from Google's microdata testing tool

I have two objects defined here for a real estate listing (a Residence and a Product), but I'd like to remove all the other ones, so it becomes less confusing for the crawler.

#552726

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Adrian,

Thank you for contacting our support forum. I'm actually not aware of how to remove this per say and this issue would fall out of our support scope since its not toolset related.

However I was able to find a plugin for you that should be able to assist with this.
https://wordpress.org/plugins/wpsso-strip-schema-microdata/

Please let me know if this helps.

Thanks,
Shane