You may want to try using the variables to set up your title and meta description template — https://kb.yoast.com/kb/yoast-wordpress-seo-titles-metas-template-variables/
Sorry, I did not explain my question well. This variables in your link serve for generating proper tags and metatags in the <head> section.
I try to find the way, how to use the CONTENT of these generated metatags somewhere in the <body> section.
For instance, this is the part of <head> section generated by plugin:
<!DOCTYPE html>
<html lang=”cs”>
<head>
…
<!– This site is optimized with the Yoast SEO plugin v7.3 – https://yoast.com/wordpress/plugins/seo/ –>
…
<meta property=”og:description” content=”Nejspíše znáte to podobenství o žábě” />
I’m looking for a way how to print out in my tempate something like:
<p>The og:description is: Nejspíše znáte to podobenství o žábě</p>
So, is there any system variable or function, that returns the exact content of metatags inserted by Yoast SEO plugin?
You may want to check the WordPress SEO API Docs for a possible filter or action you can use for your scenario — https://yoast.com/wordpress/plugins/seo/api/
We can’t offer support on custom code. Since we don’t want to take the risk that we break your website by suggesting incorrect or incomplete code, we cannot advise you on how to make such changes. Maybe someone watching these forums can assist you further, but if your topic is inactive for 7 days, we’ll mark it as resolved to keep the overview.
Thank you for your understanding.
Closing due to inactivity.