• Resolved gtamborero

    (@gtamborero)


    Hello! I am creating gutenberg blocks with ACF PRO and using Yoast SEO. I have instal.led ACF Content Analysis for Yoast SEO and it works fine to detect and read the content. The problem is that the Yoast SEO Analysis doesn’t find any image or link inside the ACF PRO content. I have been trying to use the filter add_filter( ‘wpseo_pre_analysis_post_content’) it isn’t working correctly. Can you give an example to solve the problem.

    This is a basic code:

    add_filter( 'wpseo_pre_analysis_post_content', 'prefix_render_acf_blocks_for_yoast', 15, 1 );
    function prefix_render_acf_blocks_for_yoast( $content ) {
    $with_blocks = do_blocks( $content );
    $rendered = apply_filters( 'the_content', $with_blocks );
    return $rendered;
    }

Viewing 1 replies (of 1 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @gtamborero,

    Thanks for using Yoast SEO. We are aware of an issue where the internal link counter doesn’t count links from ACF. A bug report has been created and is under review by our product team.

    What’s next?
    Our product team will assess the severity of this problem in relation to other open bug reports and new features. Based on their assessment, the bug report will be given a priority level. Our developers work on the highest priority issues first. Unfortunately, this means we cannot give you an estimate of when they’ll start working on your report.

    If you have any further information that may affect the prioritisation or help our development team solve this bug, please follow the progress at https://github.com/Yoast/wordpress-seo/issues/7441

Viewing 1 replies (of 1 total)

The topic ‘ACF PRO + Yoast SEO’ is closed to new replies.