Use metadesc on my site
-
I know this has been asked but it seems that the answer needs periodic update. I want to use the meta description in my site.
I found:
$object = WPSEO_Frontend::get_instance(); $og_title = $object->title( false ); $og_url = $object->canonical( false ); $text = $object->metadesc( false );
But it no longer works – I get empty strings even though snippets have been set up. What should I be doing?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Use metadesc on my site’ is closed to new replies.