Yoast SEO
[resolved] [Plugin: WordPress SEO by Yoast] meta descriptions aren't displayed/in code!? (4 posts)

  1. gvlonline
    Posted 5 years ago #

    The Plugin (WordPress SEO) doesn't add a meta description on any kind of site (page, post, home). The head-section looks like this:

    <title><?php wp_title(''); ?></title>

    <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/style.css" />
    <!--[if IE 6]>
    <style type="text/css">
    div#about_author {width: 719px;};
    div#ad1{margin-left: 5px;};
    div#ad2{margin-right: 5px;};
    div#ad3{margin-left: 5px;};
    div#ad4{margin-right: 5px;};
    div#post .dots{margin-top: 0px;};
    div#content .comments{margin: 10px 0 20px 10px;};
    div#blogroll {width: 280px;};
    div#post .details{margin: -14px 0 12px 23px;};
    div#content{margin: 0 280px 0 0px;};
    div#content .comments{width: 658px;};

    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="pingback" href="xmlrpc.php" />
    <link rel="EditURI" type="application/rsd+xml" title="RSD" href="xmlrpc.php?rsd" />
    <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="wlwmanifest.xml" />
    <link rel="shortcut icon" href="http://www.XXX.com/favicon.ico" />

    I tried to add a description manually on page/post level and also with the templates in the titles setting of the plugin. Both doesn't word...

    Any ideas how to fix this issue?

    Many thanks,

  2. Joost de Valk
    Plugin Author

    Posted 5 years ago #

    You're lacking a call to wp_head in your header.php, this is required for this plugin, and loads of other plugins, to work.

  3. gvlonline
    Posted 5 years ago #

    Great - it works!

    Thanks for your support!!!

  4. Joost de Valk
    Plugin Author

    Posted 5 years ago #

    Good to hear that fixed it, just added a note to the plugins FAQ.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic