[Plugin: WordPress SEO by Yoast] Meta Tag Code for Description and Keywords
-
I changed my title tag to this which worked very well.
<title><?php wp_title(”); ?></title>
but my description tag and keywords tag wont populate with what I’m putting in the Title Settings in Yoast. Here is what the tags look like on my template for description and keywords:
<meta name=”keywords” content=”<?php wp_title(); echo ‘ , ‘; bloginfo( ‘name’ ); echo ‘ , ‘; bloginfo( ‘description’ ); ?>” />
<meta name=”description” content=”<?php wp_title(); echo ‘ | ‘; bloginfo( ‘description’ ); ?>” />Is there simple code fix like there was for the title so these will work as well? Thanks for you help.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: WordPress SEO by Yoast] Meta Tag Code for Description and Keywords’ is closed to new replies.