Support

Account

Forum Replies Created

  • Hi

    Please can anyone let me know the code function to call this in genesis.

    Ive added the JS to the folder and tried the code from above

    function load_yoast_acf_link() {
    wp_enqueue_script( ‘acf_yoastseo’, get_template_directory_uri() . ‘/acf_yoastseo.js’, ‘jquery’ );
    }

    add_action( ‘admin_init’, ‘load_yoast_acf_link’ );

    But its not working – yoast is not recognising any ACF fields

    Thanks

Viewing 1 post (of 1 total)