WordPress SEO: Meta Description Tag install


WordPress is very economical with meta tags, to incorporate the description tag, you must install the following code in the header.php:

<meta name="description" content="<?php if ( is_single() ) {
        single_post_title('', true);
    } else {
        bloginfo('name'); echo " - "; bloginfo('description');
    }
    ?>" />