Answer the question
In order to leave comments, you need to log in
How to display Yoast SEO meta data on a template page?
How to display Yoast SEO plugin meta data on template page?
For example, print the value of the breadcrumb title.
Answer the question
In order to leave comments, you need to log in
Hello!
It all depends on what kind of metadata you want to output.
If we are talking about "breadcrumbs", then first you need to include them in yoast seo
https://screenshots.firefox.com/ZK01uFlgIeGeY2yq/d...
And to display breadcrumbs in the template, use:
<ul class="breadcrumb">
<?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<p id="breadcrumbs">','</p>');} ?>
</ul>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question