Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 569 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 569 Bytes

Carbon Fields Yoast

Carbon Fields Yoast is an addon to Carbon Fields that allows developers to choose which fields from Carbon Fields to include in the Yoast readability score meter.

How to use?

Install via composer, in your theme repository:

composer require aeyoll/carbon-fields-yoast

In functions.php, add the following:

add_action( 'after_setup_theme', 'crb_initialize_carbon_yoast' );
function crb_initialize_carbon_yoast() {
	include_once __DIR__ . '/vendor/autoload.php';

	new \Carbon_Fields_Yoast\Carbon_Fields_Yoast;
}