Home › Forums › Feature Requests › ACF + Yoast SEO 3.0 › Reply To: ACF + Yoast SEO 3.0
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
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.