Adding META description to wordpress categories
As a blog owner i wanna add META description to Wordpress. As you all might be knowing that Wordpress does not create such META tags. But i have seen some adding it manually to get better search engine indexing. Could you guys please guide me how to add META description tags to Wordpress ? Thanks in advance.
Re: Adding META description to wordpress categories
META Description tags are inserted between the HEAD tags on the webpage.It compares the words within description or keywords sections and "ranks" the site dependent upon how well the information matches. To add meta tags to your site, simply add them to the header.php template file in your WordPress Theme, specifically in the head section near the link for the style sheet. At the top you will see the DOCTYPE tag and below that you will see a couple more tags and then the <title> tag, looking something like this:
Quote:
<title><?php bloginfo('name'); ?><?php wp_title(); ?></title />
Re: Adding META description to wordpress categories
You need to edit the HEADER file in your blog template presentation. Then you need to add a META description tag.Open your header.php file. Paste the following code anywhere within the <head> and </head> tags:
Quote:
<?php if ( (is_home()) || (is_front_page()) ) { ?>
<meta name="description" content="Blog description goes here" />
<?php } elseif (is_single()) { ?>
<meta name="description" content="<?php the_excerpt();?>"/>
<?php } ?>
Re: Adding META description to wordpress categories
The word meta means information about. Meta Tags were created early on to provide concise information about a website. Meta tags list information about the web page, such as the author, keywords, description, type of document, copyright, and other core information.There are several Plugins that allow the blog administrator to set the keywords, description, and other meta tags to be unique on each post. These plugins make use of the Custom Fields in the Write Post Panel. YOu can use Add-Meta-Tags WordPress Plugin