Support » Plugin: Yoast SEO » Schema code

  • Resolved beantown123

    (@beantown123)


    I have done a bunch of research on an issue and wanted to verify that I am correct.

    I want to use article schema for my blog posts (past and future), but since I am using the classic editor, my understanding is that this is not possible until I switch to the block editor.

    If I switch to the block editor, I believe I need to go to every post and change to a classic block to enable article scheme on them. Is this right?

    My other question is if I use another schema plugin instead of Yoast, is there presently any schema from Yoast that would conflict? Or is there none since I am in classic editor?

    Thanks for any help you can provide.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Michael Tina

    (@mikes41720)

    Hello @beantown123

    Actually, the moment you install and activate the Yoast SEO for WordPress plugin, it will already output the Article schema for your single posts, regardless of what editor (Block or Classic) you are using.

    You can check out the output of the plugin here — https://developer.yoast.com/features/schema/plugins/yoast-seo

    You can also test it out on Google’s Structured Data Testing Tool to confirm if the Article schema is outputting for your posts.

    If you decide to use another schema plugin instead of Yoast, there is a chance that there might be conflicting or duplicate schema, so we wouldn’t recommend that.

    Thanks for the reply. I am really glad I asked you. You’ve probably just saved me a lot of time since it sounds like I am wrong.

    Plugin Support Michael Tina

    (@mikes41720)

    We’re glad to be of help!

    We do have some additional structured data blocks (FAQ and How-To) that you will need to use in conjunction with the Block Editor. It won’t work with the classic editor. You can learn more about it here as it may help you add some useful content to your posts and pages and leverage on the schema.org structured data capabilities as well — https://yoast.com/wordpress/plugins/seo/structured-data-content-blocks/

    beantown123

    (@beantown123)

    Hi, I did run one of my blog posts in the Google Structured Data Testing Tool. I am not seeing Article Schema. My SEO person also told me they don’t see it either. I see about 7 different @type on the right side of the screen, but nothing referencing Article. Is there something that could be preventing it?

    I do see some code on the left box of the screen with my website code, but I don’t think it’s schema:
    <meta property=”og:type” content=”article” />

    Plugin Support Rumejan

    (@onlyincebu)

    Hello @beantown123!

    Just to verify, does the post have an author and a featured image? The Yoast SEO plugin automatically adds the Article schema and all required information on a standard WordPress post as long as it has an author and a featured image. More details here: https://developer.yoast.com/features/schema/pieces/article/

    beantown123

    (@beantown123)

    I figured out the issue. I needed to add an organization name and logo in the Yoast settings. It is now outputting Article Schema. I did see in your documentation online that the blog post must have an image width of at least 696 pixels. Is this still the case? All of my blog images are less than that, so I am somewhat concerned since I can’t enlarge the images without affecting their quality.

    Plugin Support Michael Tina

    (@mikes41720)

    Hi,

    We’re glad to hear that you were able to resolve the issue with the schema.org structured data output.

    Was this an article regarding image sizes on on the Yoast.com SEO blog?

    We do have documentation and advise here with regards to adding images to your blog posts and content and how to further optimize them — https://yoast.com/image-seo/

    beantown123

    (@beantown123)

    It’s possible that I read the image size info on another site that mentioned Yoast. I’ve also just read that Google changed the required width from 628 pixels to 1200 pixels, so I am likely going to have to recreate my featured images. Is this your understanding of the width of images to make article schema work? I am not showing any errors though on the Google Schema Testing Tool.

    Plugin Support Carl B

    (@devnihil)

    @beantown123 We checked to see if we could find any official suggested settings for the featured image from Google but weren’t able to locate any. From what we found for recommendations online though, most sites advise a size of 1200 x 628 px.

    beantown123

    (@beantown123)

    Ok thanks.

    Plugin Support Michael Tina

    (@mikes41720)

    Hey,

    We’ll be setting this topic as resolved in order to keep the forum overview.

    Thanks!

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