Support » Plugin: Yoast SEO » Markup Article double

  • Hello, the plugin is great, but there is one problem: I have an Article markup on my site that I have implemented, but the plugin generates a second one (Google validator does not give an error). How to leave markup only for breadcrumbs?

Viewing 2 replies - 1 through 2 (of 2 total)
  • found a solution, but not everything works:

    add_filter( ‘disable_wpseo_json_ld_search’, ‘__return_true’ ); – working
    add_filter( ‘wpseo_schema_article’, ‘__return_false’); – working
    add_filter( ‘wpseo_schema_webpage’, ‘__return_false’); – working
    add_filter( ‘wpseo_schema_website’, ‘__return_false’); – working
    add_filter( ‘wpseo_schema_person’, ‘__return_false’); – does not work
    add_filter( ‘wpseo_schema_organization’, ‘__return_false’); – working
    add_filter( ‘wpseo_schema_imageobject’, ‘__return_false’); – does not work

    lomerill

    (@lomerill)

    add_filter( ‘wpseo_schema_imageobject’, ‘__return_false’); – does not work

    Identifier for imageobject is ‘main_image’ so

    add_filter( ‘wpseo_schema_main_image’, ‘__return_false’);

    should works fine.

    You can find scheme generator’s identifiers here: /wordpress-seo/src/generated/container.php

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Markup Article double’ is closed to new replies.