Ad

How To Create Custom Variable (%%title%%) For Meta Field In Wordpress For Yoast Seo Plugin

- 1 answer

I want to create %%title%% variables for meta field which I want to use in yoast seo settings.

Please guide me how can I do this

Ad

Answer

You can target a custom meta field by using %%cf_<custom-field-name>%% in your SEO Title field.

Here's a reference of all the available variables on Yoast:

Yoast SEO: Titles & Metas template variables

Here's an example of what it should look like:

SEO Title with Custom Meta Field

Ad
source: stackoverflow.com
Ad