• Resolved ebedding

    (@ebedding)


    Hi, is there a filter to disable the Product structured data coming from the plugin?

    I output structured data myself with custom code, so I want to get rid of the duplicate SEO Framework version so only mine is output.

Viewing 1 replies (of 1 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hello ??

    I believe this should do:

    add_filter( 'the_seo_framework_json_breadcrumb_output', '__return_false' ); // singular non-homepage only
    add_filter( 'the_seo_framework_json_search_output', '__return_false' ); // homepage only
    add_filter( 'the_seo_framework_json_knowledge_output', '__return_false' ); // homepage only

    Now, TSF doesn’t output structured data for Products. Please note that other plugins may also still embed structured data, such as WooCommerce. Cheers!

    • This reply was modified 4 years, 7 months ago by Sybre Waaijer. Reason: clarity
Viewing 1 replies (of 1 total)
  • The topic ‘Disable structured data’ is closed to new replies.