Using %%term_title%% for Custom Post Type – in the Title
-
Hi All,
Looking at adding a %%term_title%% into the custom post type title on a website we’ve made.
We’d like to have the following as the title on all custom post type single pages:
%%title%% a %%term_title_TYPE%% in %%term_title_LOCATION%%
Or similar. Those custom taxonomies are setup and each custom post will be in one.
Note the second (location) taxonomy is hierarchical, and ideally, we’d have the format, “CHILD, PARENT” (i.e. “Paris, France”).
Just about to write a custom function to do this, but discovered this lovely(!) thread where a fair amount of the work has been done. Anyone got a custom function (or does the plugin allow for this now – thread 2+ years old) which does the heavy lifting here?
- The topic ‘Using %%term_title%% for Custom Post Type – in the Title’ is closed to new replies.