Tag: yoast

Fixing Yoast Broken Organization and Logo Schema

Get your Logo and Organization schema back after a Yoast update.

Continue reading "Fixing Yoast Broken Organization and Logo Schema" ››

Extend Yoast Schema with a New Type

Yoast 11 introduced schema data added by default. If your site already has schema added through your theme then this may break. At the time of writing, the documentation only shows how to extend an existing type (Person), not add a new one. So here I am going to show how to add event data by adding a new piece to the tree.

Continue reading “Extend Yoast Schema with a New Type” ››

Remove Yoast HTML Comments in Version 11.0

If you were previously stripping Yoast HTML comments on your website then there is a good chance that updating to v11.0 will show the new schema data at the top of your website.

The problem is that a widely used snippet for stripping out the comments searched for the string ‘yoast’ and then removed the surrounding comment tags. The new schema data added in V11.0 uses the word ‘yoast’ as a class on the script tag, so the script tags get stripped and the schema data shows at the top of the website.

Continue reading “Remove Yoast HTML Comments in Version 11.0” ››