I’m just in the process of finalising my site and want to use Google’s meta tags for customising the +Snippet in a +1 share.
<meta itemprop="name" content="Title of your content"> <meta itemprop="description" content="This would be a description of the content your users are sharing">
I can populate the first field just using
<meta itemprop="name" content="<?php wp_title(); ?>">
However, I would like to access the WordPress SEO generated description to populate the second meta element.
Is there a template tag I can use, or some other way to get this information?
Cheers for the awesome plugin!
- The topic ‘[Plugin: WordPress SEO by Yoast] Template tag or similar to get WordPress SEO Description’ is closed to new replies.