How can I use advanced-custom-fields field in SEO by Yoast Meta Description?
-
Hi,
I used Advanced Custom Field plugin to create a field named “place_address”
in PHP I can get its value using below code:
$place_address= get_field( “place_address”, $post->ID );
I want to add place address to the Meta Description of Yoast and I have tried to use Yoast shortcode a few times but these below ways that I tried didn’t work for me:
%%cf_<place_name>%%
%%cf_place_name%%
%%cf_<acf place_name>%%
%%acf place_name%%Can someone help me to find out a way to do this?
***I’ve posted this question in SEO by Yoast forum but it seems that they don’t provide support to users of free version. So I re-post here.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How can I use advanced-custom-fields field in SEO by Yoast Meta Description?’ is closed to new replies.