Need to Remove “hatom” and “hcard” Microdata/schema from Kadence Theme
-
Hello,
I am experiencing an issue specifically with the Kadence theme concerning the “hatom” and “hcard” microdata that are automatically integrated. I am using an SEO plugin that already provides the required schema information, and therefore, I need to completely eliminate the microdata provided by the theme to prevent duplication and conflicts.
When I switch to the default WordPress theme, this problem disappears.
However, with the Kadence theme, even after implementing custom functions to remove these microdata, they are still present.
Here is an example of the function I’ve tried to use to remove the “hatom” schema: And a similar approach for the “hcard”.
add_filter(‘kadence_microdata’, ‘__return_false’ );
Unfortunately, even after these adjustments, the “hatom” and “hcard” schema still appear when I inspect my site’s data structure.
Is there a way to fully disable these microdata in the Kadence theme? I need a solution that won’t affect future theme updates or conflict with my SEO plugin.
Thank you in advance for your help and guidance. I appreciate your time and assistance.
Best regards,
Cristiano
- The topic ‘Need to Remove “hatom” and “hcard” Microdata/schema from Kadence Theme’ is closed to new replies.