• 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

    • This topic was modified 1 year, 7 months ago by Cristiano.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Christiano,

    That filter is probably not what you’re looking for in this case.

    Can you give me some more details on where you’re seeing the microdata? Like which elements or pages is it on that you want to remove them from.

    Are you using a specific tool to test the data structure compliance or just inspecting in your browser?

    Mark

    Also what plugin are you using that adds the required hcard schema? Yoast or one of its extensions?

    Mark

    Thread Starter Cristiano

    (@cristiano)

    Hello Mark,

    Thank you for your prompt response and for attempting to understand my situation better.

    To answer your questions, I am noticing the unwanted “hatom” and “hcard” microdata across multiple elements and pages of my website. It seems to be automatically integrated by the Kadence theme, which is causing duplication and conflicts with my SEO plugin’s own schema information.

    I am using the WP-Recipe maker, which is integrated with the Yoast SEO plugin. This setup already provides the necessary schema information, and the presence of additional microdata from the Kadence theme is undesirable. I tested this using the validator tool available at https://validator.schema.org/, and the problem persists only when I am using the Kadence theme.

    I tried disabling the microdata using the ‘kadence_microdata’ filter, as described in my initial post, but it didn’t seem to have the desired effect. Hence, I am reaching out for a more effective solution.

    I look forward to your advice on how I can address this issue. Is there a way to completely eliminate the microdata provided by the Kadence theme, without affecting future theme updates or conflicting with my SEO plugin?

    I hope this additional context helps in resolving the problem. Thank you for your assistance.

    Best regards,

    Cristiano

    • This reply was modified 1 year, 7 months ago by Cristiano.

    @cristiano,

    From what I can see we only put the ‘vcard’ class (the class indicating hCard micro data) on the author tags our theme outputs. I don’t see why recipe’s schema would conflict with that. So I don’t think that’s the issue, but please correct me me if I’m off there.

    As far as hAtom data, we do add hfeed class to pages to help tag posts and stuff. From my testing on a standard posts page the tagging appears correct
    https://monosnap.com/file/Gq0D3PDUgEbIV2MwIAFTO9KioV5jrL
    https://monosnap.com/file/B0l2q60rn0Nab5EghoPLWHaSKJcnDe

    Could you provide a screenshot or more details of the error the validator is giving you?
    Even better, If your site is live somewhere that we can access it, please post a link to a page with the issue.
    Is it only on your recipe archive pages or the singular recipe pages as well?

    I need to see your error to figure out what’s wrong. From what I can see our hAtom and hCard implementations look correct.

    Mark

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Need to Remove “hatom” and “hcard” Microdata/schema from Kadence Theme’ is closed to new replies.