Posts

Wordpress Head

Post

How to remove the date published and date modified schema from the Article schema (posts) and WebPage schema (pages and posts) in the Yoast SEO plugin for WordPress

I was contacted a few days ago by a fellow WordPress warrior (hello Dan) asking if it’s possible to remove the date published (datePublished) and date modified (dateModified) schema from the Article schema (posts) and WebPage schema (posts and pages) in the Yoast SEO plugin for WordPress. The answer is yes, you can do this […]

Read more >>

Snippet

Override and set the Facebook open graph locale the Yoast WordPress SEO plugin puts in the WordPress head

The Yoast WordPress plugin adds the Facebook open graph markup to your WordPress head if you enable it. It takes the locale setting from whatever language you have set in the WordPress general settings. You can change it in the settings to whatever locale you need or, if you want to keep the WordPress language […]

Read more >>

Snippet

Remove Yoast WordPress SEO plugin’s search schema markup from the WordPress head

Add this to your theme’s functions.php to remove the search schema that the Yoast WordPress SEO plugin puts in the WordPress head. Particularly if you’re not using the WordPress search on the site!

Read more >>

Snippet

Remove WordPress emoji scripts from head

Removes the new emoji scripts which are in the head from WordPress 4.2 up. Put this in your theme’s functions.php

Read more >>