lucrothe
Member
Posted 3 months ago #
I'm using the WordPress SEO by Yoast and I would like to use my own custom fields in the titles, not just the predefined custom fields he defines at the end of the title page. For example I have a custom field called "State" with a value of "New York". How could I get the "Title template:" to show the state value? It would look something like this:
%%State%% - %%title%%
Thanks in advance!
spicydesign
Member
Posted 3 months ago #
lucrothe
Member
Posted 3 months ago #
Thanks Spicydesign, that worked!!
Pranjalg
Member
Posted 2 months ago #
Hello, I am trying out %%cf_<field name>%% but it's not working for me? I am using it like %%cf_<price>%% and here price is the name of my custom field.
Thanks!
Pranjalg
Member
Posted 2 months ago #
Oh let it be, I just figured it out myself, and it worked! :)