ACF-Content Analysis for Yoast SEO

plugin banner

This plugin ensures that Yoast SEO analysize all ACF content including FlexiContent and Repeaters.
Requires version 3.0 or later of Yoast SEO plugin.

Author:Thomas Kräftner, ViktorFroberg, marol87, pekz0r, angrycreative, Team Yoast (profile at wordpress.org)
WordPress version required:6.1
WordPress version tested:6.5
Plugin version:3.1
Added to WordPress repository:17-12-2015
Last updated:20-03-2024
Rating, %:82
Rated by:35
Plugin URI:https://wordpress.org/plugins/acf-content-ana...
Total downloads:1 974 024
Active installs:200 000+
plugin download
Click to start download

This plugin ensures that Yoast SEO analyzes all ACF content including Flexible Content and Repeaters.

Yoast SEO for WordPress content and SEO analysis does not take in to account the content of a post’s Advanced Custom Fields. This plugin uses the plugin system of Yoast SEO for WordPress to hook into the analyser in order to add ACF content to the SEO analysis.

This had previously been done by the WordPress SEO ACF Content Analysis plugin but that no longer works with Yoast 3.0. Kudos to ryuheixys, the author of that plugin, for the original idea.

This Plugin is compatible with the free ACF 4 Version as well as with the PRO Version 5. Please be aware that it ignores Pro Add-Ons for Version 4. In that case please upgrade to ACF PRO Version 5.

If you have issues, please submit them on GitHub

Previously called Yoast ACF Analysis.

Filters

Remove specific field from scoring

add_filter( 'Yoast\WP\ACF\blacklist_name', function ( $blacklist_name ) {
    $blacklist_name->add( 'my-field-name' );
    return $blacklist_name;
});

Remove field type from scoring

add_filter( 'Yoast\WP\ACF\blacklist_type', function ( $blacklist_type ) {
    // text, image etc
    $blacklist_type->add( 'text' );
    $blacklist_type->add( 'image' );
    return $blacklist_type;
});

Define custom field a specific heading value

add_filter( 'Yoast\WP\ACF\headlines', function ( $headlines ) {
    // value from 1-6, 1=h1, 6=h6
    $headlines['field_591eb45f2be86'] = 3;
    return $headlines;
});

Change refresh rate

add_filter( 'Yoast\WP\ACF\refresh_rate', function () {
    // Refresh rates in milliseconds
    return 1000;
});

ChangeLog