Title: Meta Description not displaying in Source Code
Last modified: August 18, 2016

---

# Meta Description not displaying in Source Code

 *  [fasenfeld](https://wordpress.org/support/users/fasenfeld/)
 * (@fasenfeld)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/meta-description-not-displaying-in-source-code/)
 * Hi Guys
 * I have a wordpress question I was hoping someone could answer.
 * I am trying to get my meta description tag to display on both my main index page
   source code as well as my category pages source code.
 * I have no problem getting the description to display in the source code for individual
   posts. Basically the 1st line is pulled from the body content of each post.
 * However when I look at my main index page source code and
    category source code
   all I see is
 * <meta name=”description” content=”” />
 * No description is being inserted. I am obviously doing something wrong and need
   to add something somewhere into the backend of wordpress or to a plugin.
 * I am using the Semiologic theme in WordPress.
 * If anyone could give me step by step instructions on how to remedy this I would
   really appreciate it.
 * I am sure this is affecting my searc engine rankings if I dont have this set 
   up correctly.
 * Regards
 * Stephen

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Bodhipaksa](https://wordpress.org/support/users/haecceity/)
 * (@haecceity)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/meta-description-not-displaying-in-source-code/#post-492847)
 * The question I’d ask is what’s the relevant part of your header.php file?
 * I suspect that the absence of a meta description almost certainly is having no
   effect on your search engine rankings, however.
 *  Thread Starter [fasenfeld](https://wordpress.org/support/users/fasenfeld/)
 * (@fasenfeld)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/meta-description-not-displaying-in-source-code/#post-492943)
 * Hi
 * I posted this about 8 hours ago and am still looking for any suggestions.
 * Regards
 * Stephen
 *  [Bodhipaksa](https://wordpress.org/support/users/haecceity/)
 * (@haecceity)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/meta-description-not-displaying-in-source-code/#post-492946)
 * And I asked you a question 8 hours ago and I’m still waiting for you to answer.
   It’s hard to offer suggestions without information. In this case it would be 
   useful to know what the code is in your header.php file that specifies where 
   the information for the description comes from.
 *  Thread Starter [fasenfeld](https://wordpress.org/support/users/fasenfeld/)
 * (@fasenfeld)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/meta-description-not-displaying-in-source-code/#post-493067)
 * Hi
 * Sorry about that I misread your post and didnt understand what you were asking.
   I am new to WordPress. Here is the code in my header.php file.
    Any help would
   be greatly appreciated.
 * <?php
    # # DO NOT EDIT THIS FILE # ——————— # The Semiologic theme features a 
   custom.php feature. This allows to hook into # the template without editing its
   php files. That way, you won’t need to worry # about losing your changes when
   you upgrade your site. # # You’ll find detailed sample files in the custom-samples
   folder # ?><!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “[http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt](http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt);
   <html><head><title><?php do_action(‘display_page_title’); ?></title> <?php do_action(‘
   wp_head’); ?> </head> <body class=”<?php do_action(‘display_page_class’); ?>”
   > <?php do_action(‘before_the_wrapper’); ?> <div id=”ext_wrapper”> <div id=”shadow_top”
   ></div> <div id=”shadow”> <div id=”wrapper”>
 * <?php
    do_action(‘before_the_header’); do_action(‘display_header’); do_action(‘
   display_navbar’); do_action(‘after_the_header’); ?>
 * <div id=”body” class=”body”>
    <div id=”ext_main”> <div id=”main” class=”main”
   > <div class=”pad”>
 * Regards
 * Stephen
 *  [Bodhipaksa](https://wordpress.org/support/users/haecceity/)
 * (@haecceity)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/meta-description-not-displaying-in-source-code/#post-493104)
 * Yikes! I probably can’t be of any help apart from bumping this to the top.
 * Presumably it’s the
 * `<?php
    do_action('wp_head'); ?>
 * part that generates the meta description, but I don’t know anything about that
   function. Hopefully someone else here can help you out.
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [19 years, 5 months ago](https://wordpress.org/support/topic/meta-description-not-displaying-in-source-code/#post-493111)
 * What plugin or addon is actually generating the meta description?
 * He’s correct about the wp_head bit, however that’s just a standard action hook.
   Something, somewhere else, is using that to insert the description bits. You 
   need to figure out what plugin is doing that.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Meta Description not displaying in Source Code’ is closed to new replies.

## Tags

 * [description](https://wordpress.org/support/topic-tag/description/)
 * [tag](https://wordpress.org/support/topic-tag/tag/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * Last activity: [19 years, 5 months ago](https://wordpress.org/support/topic/meta-description-not-displaying-in-source-code/#post-493111)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
