Home › Forums › ACF PRO › Yoast SEO Plugin & ACF Not Working › Reply To: Yoast SEO Plugin & ACF Not Working
I did just notice that it does actually work if it is a field that is not within a Flexible Content field type. So if you just have a text field named “seo_description” on the page and you want to use that as the description within Yoast SEO, then you can do the below within the Yoast SEO “search appearance” settings in the description area:
%%cf_seo_description%%
So I guess the temporary solution is to do something like this, however this means I need to create another field for someone to enter in the specific seo description text. So if there was some way to make this just automatically pull from the current text area field I have within the Flexible Content layout I have, that would be great!
I am guessing the %%cf_field_name%% approach doesn’t work for sub fields like the ones within repeaters, groups, flexible content, etc.
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!
Accordions are a great way to group related information while allowing users to interactively show and hide content. In this video, Damon Cook goes in-depth on how to create an accessible accordion block using ACF PRO’s Repeater field.https://t.co/RXT0g25akN
— Advanced Custom Fields (@wp_acf) March 2, 2023
© 2023 Advanced Custom Fields.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.