• Resolved travmilne

    (@travmilne)


    I use the WPSSO Core plugin for standard schema. I don’t want or use it for formatting FAQ schema. I don’t use the FAQ Schema add-on.

    I’ve added FAQ schema to one of my pages by simply pasting it in as code within the text editor.

    Your plugin is seeing that schema and it’s adding it to the header schema the plugin generates. This is causing duplication issues and is invalid in Google. If I disable your plugin it works fine because the code is only there once, where I’ve entered it.

    How do I prevent your plugin from seeing the FAQ schema I’ve entered and duplicating it?

Viewing 1 replies (of 1 total)
  • Plugin Author JS Morisset

    (@jsmoriss)

    WPSSO Core should comment the JSON it detects (and uses) in the content, but between the time it detects the JSON (adding it to the Schema markup in the head section) and the time it can comment it, if the JSON has changed (been optimized or reformatted, for example), then it will not be able to comment it as the original JSON it detected is no longer there. If the JSON in the content does not change, it should be commented automatically.

    If you prefer the FAQ markup to be disconnected from the @graph markup created by WPSSO Core, you can disable the hasPart property using this filter in your functions.php file:

    add_filter( 'wpsso_init_json_filter_prop_haspart', '__return_false' );

    Note that you must be using at least WPSSO Core v15 for this to work.

    js.

Viewing 1 replies (of 1 total)
  • The topic ‘FAQ Schema entered into post is being duplicated by plugin.’ is closed to new replies.