Add custom taxonomy to title tag

I’m using Yoast’s WordPress SEO plugin for a variety of websites. In setting title tag templates with his %%category%% syntax, I’ve figured out that you can reference custom fields by using %%cf_<custom_field_name>%%.

What I haven’t been able to figure out is how to reference custom taxonomies. Within a custom post type, I have a category that I want to reference (i.e. customcategory). If I try adding %%customcategory%%, it doesn’t work. Does anyone know if this is possible with the WordPress SEO plugin or point me in the right direction if I need to add a function to work with the plugin?

Related posts

Leave a Reply

2 comments