Skip to content

aeyoll/carbon-fields-yoast

 
 

Repository files navigation

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;
}

About

Helper library that allows developers to choose which fields from Carbon Fields to include in the Yoast readability score meter

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 70.0%
  • PHP 30.0%