Skip Navigation

[Resolved] I need to add the Taxonomy to the Yoast SEO title

This thread is resolved. Here is a description of the problem and solution.

Problem:
Yoast has added the ability to add custom taxonomy names to the SEO title via the variable %%ct_%%, but what exactly does that mean?

Solution:
You should use the taxonomy slug, e.g. for a taxonomy of "colours" you would enter %%ct_colours%% in the relevant Yoast section.

This support ticket is created 6 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 2 replies, has 2 voices.

Last updated by kristofG 6 years, 3 months ago.

Assisted by: Nigel.

Author
Posts
#1082846
Screenshot_20.png

Yoast has added the ability to add custom taxonomy names to the SEO title via the variable %%ct_<custom-tax-name>%%
However, I cannot figure out what to use as <custom-tax-name>. I have used "taxonomy-view-article-types", "wpv-taxonomy-title"

Article is my CPT and Types is a taxomy

#1082953

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Kristof

I haven't tested this feature, but from your description it looks like they expect the taxonomy slug (the name would be odd), so for a custom taxonomy with a slug of types then you should be able to use %%ct_types%%.

Do you want to try that and see if it works?

#1082964

I never would have though it'd be that simple. Totally confused with all the wpv_ prefixes around.
I works like a charm.