Pro 5.2.0 - Beta 1 - Custom dynamic content on terms

Hi!

I tried retrieving the Yoast Meta description from the WC category page.

There is only one option:

{{dc:post:meta key="_yoast_wpseo_metadesc"}}

However, that would return the description from one of the posts.

It appears that the option {{dc:term:meta key="_yoast_wpseo_metadesc"}} is not available.

This holds true for any meta content on a taxonomy page. Is there any chance to fix it?

Thanks!

Hi @Misho,

The {{dc:term:meta}} statement is a wrapper around get_term_meta and applies to the current term. I took a quick look at how Yoast is setup and they store all the meta data in a single site wide option called wpseo_taxonomy_meta. Unfortunately there’s not a way to access that with Dynamic Content without custom PHP.

1 Like