Meta Box for Yoast SEO

Edit this page on Github

Overview

Meta Box for Yoast SEO is a free extension which allows developers to add content of custom fields to Yoast SEO Content Analysis to have better SEO score.

It allows you to live preview the result with Javascript.

yoast seo preview

Installation

Before installing the extension, you need to install Meta Box plugin first.

  1. Go to Plugins → Add New and search for Meta Box
  2. Click Install Now button to install the plugin
  3. After installing, click Activate Plugin to activate the plugin

The extension is just a WordPress plugin, you can install it like a normal WordPress plugin.

  1. Go to Plugins, click Add new, then click Upload plugin.
  2. Choose the .zip file you downloaded and click Install now
  3. After finishing upload, click Activate to finish.

Usage

Assume you have a wysiwyg field where you enter content:

[
	'name' => 'My custom editor',
	'id'   => 'custom_content',
	'type' => 'wysiwyg',
],

And you want Yoast SEO to get its content to analyze. To do that, add 'add_to_wpseo_analysis' => true to the field:

[
	'name' => 'My custom editor',
	'id'   => 'custom_content',
	'type' => 'wysiwyg',
	'add_to_wpseo_analysis' => true,
],

That’s all.

The plugin supports all types of fields, such as text, textarea and wysiwyg.

Edit this page on Github