Support » Plugin: Yoast SEO » Schema Question…Again

  • Resolved steveraven

    (@steveraven)


    Hi guys,

    Thought I’d ask this again, seeing as it got conveniently dodged the last time I asked it.

    This new schema that is now operated by Yoast – does it replace other schema plugins?

    At present I’m using ‘Rich Snippets’ for my schema which is really easy to use – but if the Yoast version does the same thing then it’s pointless me keeping it, yes?

    Speaking of ‘easy to use’, how do you arrange posts, pages, CPT’s etc into their relevant schema types, such as ‘article’, ‘product’, ‘person’, etc as there seems to be no option to do this with Yoast?

    Thanks for any info!

Viewing 6 replies - 1 through 6 (of 6 total)
  • MariusG

    (@marius_codeinwp)

    Hi @steveraven,

    The answer depends on what types of schema you are looking to insert into your posts/pages. Yoast SEO will automatically insert a type of schema depending on your SEO settings. You can find a list of the schema types inserted by Yoast SEO here (and in which scenarios it outputs any of them).

    That being said, if you want a different schema type, then this is not currently possible from an interface.

    Hello.
    My link is https://www.seotipsit.com/make-money-with-google-adsense-high-cpc-keywords/
    I am using latest Yoast plugin and when tested with Structured Data Testing Tool, the default markup as told above shows as “Article”.

    How do I replace this with “BlogPosting” or “WebPage” without disabling the plugin of yours. You said it is not possible with interface, then how do you do it.

    Thanks for the explanation @marius_codeinwp

    From the above answer then, it would appear that ‘rich snippets’ is the way to go as regards schema at the present time until Yoast matures a little over it’s addition of schema.

    The majority of my posts are indeed ‘article’ posts, but some of my pages use ‘product’ and ‘person’ schema types.

    Some of the schema types might be wrong, for eg the ‘faq’ type might need to be added on a couple of posts, pages and/or CPTs, but at least I have a little bit of control rather than having the post ‘hijacked’ into a Yoast default schema type.

    In the future, I would suggest adding an interface so that users could have the ‘option’ of having Yoast’s schema type, or decide for themselves whether they wanted to use their own.

    MariusG

    (@marius_codeinwp)

    @shreen2008 you can do so with our schema API, which is meant to be used by developers. You can use a snippet to change the data.

    @steveraven Thank you for your feedback! We do plan to add more schema types, but many of them will be determined by the type of blocks you are using (similar to the FAQ and How-To blocks).

    I don’t use blocks, I use the Classic Editor

    @marius_codeinwp : Thanks for a positive direction.

    I just checked the documentation and I found this hook.

    add_filter( 'wpseo_json_ld_output', '__return_false' );

    Will this completely remove all the meta (including meta description) supported by Yoast.

    I want to just prevent my posts default markup of “Article”.

    I will manually add the JSON-LD markup code or use another plugin for my markup.

    Please clarify.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.