WordPress Yoast – move strucutured data tag

Yoast plugin is adding a Structured Data script tag near to the top of the page’s section. I noticed this is being flagged by the Google Page Speed analyser because it’s above, and blocking, other stylesheet tags.

Therefore I’d like to move the tag to the bottom of the header.

To start with, I’ve found there’s a way to remove the tag entirely: How to remove action from yoast plugin

Now I can just hardcode the tag into header.php but it would be nicer to re-add the tag that is dynamically generated by the plugin.

Is that possible?

Read more here: WordPress Yoast – move strucutured data tag

Leave a Reply

Your email address will not be published. Required fields are marked *