Home › Forums › ACF PRO › ACF PRO fields inside of Yoast – meta title and meta Description › Reply To: ACF PRO fields inside of Yoast – meta title and meta Description
I don’t use that plugin, and I don’t really know what needs to be done.
The first thing I would do is figure out what is being passed to your filters
add_filter('wpseo_metadesc', run_short_codes_in_meta_desc, 137);
function run_short_codes_in_meta_desc($metadesc)
{
echo "<!-- metadesc = $metadesc -->";
return do_shortcode($metadesc);
}
add_filter('wpseo_title', run_short_codes_in_title, 136);
function run_short_codes_in_title($title)
{
echo "<!-- title = $title -->";
return do_shortcode($title);
}
then look in the page source to see what is being passed in.
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.