Remove Yoast SEO Check rating

Sometimes pages or Custom Post Types use other methods of publishing content to the pages instead of just the content area of the WordPress WYSIWYG. This can be bad and confusing for clients when they see a poor or red rating because to achieve a rating, Yoast compares the content area with the title, url… So if the content is considered blank (by the plugin) it can never receive a good passing rating.

One simple solution without rewriting how a check is done, is to hide it with a function in your theme’s function.php file.

add_action('admin_head', 'remove_wp_seo_score_title');

function remove_wp_seo_score_title() {
  echo '<style>
    .misc-pub-section .wpseo-score-title {
      display: none;
    }
  </style>';
}