Support » Plugin: ACF Content Analysis for Yoast SEO » Flexible Content layout name is prepended to page description

  • Resolved althie

    (@althie)


    Hi!

    We have site where we have removed the default WP Editor field and we are using ACF Flexible Content fields for the page content. Your plugin makes it possible to show correct content in Yoast Snippet Preview. However it adds the Flexible Content field name in the preview.

    Field name is found from array returned by ACF get_fields() function with key acf_fc_layout

    Screenshot where layout name is highlighted in description:
    Yoast page description snippet

    Otherwise thanks for great plugin!

Viewing 1 replies (of 1 total)
  • Plugin Author Viktor Fröberg

    (@viktorfroberg)

    Hi!
    Thats easily fixed with the exclude fields filter. Just add all fields you want to exclude like below.

    add_filter('ysacf_exclude_fields', function(){
        return array(
            'acf_fc_layout'
        );
    });

    / Viktor

Viewing 1 replies (of 1 total)
  • The topic ‘Flexible Content layout name is prepended to page description’ is closed to new replies.