I want to customize the title of a custom post type single article.
There is a taxonomy called taxo_personnes_fonction
for example in the custom content.php file, I have this code
$terms = get_the_terms($post->ID, ‘taxo_personnes_fonction’);
it works well, the output is an array of terms.
I want to use in the title something like %customterm(taxonomy-name)% but it doesn’t work (empty result)
I have tested %customterm(taxo_personnes_fonction)% and %customterm(‘taxo_personnes_fonction’)% and %customterm_desc(‘taxo_personnes_fonction’)%
You must be logged in to reply to this ticket.