Custom fields in title don’t seem to be working
-
I have configured Yoast to include some custom fields in the title of a custom post type. The format goes like this:
%%title%% by %%cf_artist_name%% %%sep%% %%sitename%%
It is working fine within the small preview card that Yoast provides but since I’m using a VueJS frontend I would like to access this via the REST API. What the API return is this
yoast_title: "Ballast by — ArtWalk"
As you can see it is missing the custom fields (which are created with the latest version of ACF Pro).
I’m guessing this might be a problem with the plugin since the JSON returned has not been manipulated by other pieces of code.
Thanks for the plugin and for your time!
The page I need help with: [log in to see the link]
- The topic ‘Custom fields in title don’t seem to be working’ is closed to new replies.