darren lobaw
asked 9 years ago

I’m using DW Minion with the Yoast WordPress SEO plugin. I’ve entered the text I want Google to display as the search snippet into the homepage meta description in the plugin. With the previous theme I used, Google would render this information as the snippet. With DW Minion, Google is displaying the snippet with the info from the main sidebar with what is in the about box. This shows up in the page source as the "site description ". The plugin displays the "meta name="description" with the correct info but isn’t showing up as the snippet which is what I want.
Any way to correct this?

1 Answers
DominicStaff
answered 9 years ago

Hi,
Apologies for the delay in replying to you. As for meta description: the plugin will not generate one for you
You could use:
<meta name="description" content="My Description" />
Added at top of the to header.php of your theme
Or add the following code to the functions.php file:

<?php if ( is_home() ) { ?>
    <meta name="description" content="My Description" />
<?php } ?>

Hope this helps !

Powered by DW Question & Answer Pro