• How can I enter a standard description of my site (index) to show up as the result of a google search (under the site’s name), rather than having it pull pieces of my recent posts?

    Any help is greatly appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You could add a meta description tag into your header template for the index page, if there’s not already one of them.

    Somewhere below this line in your header

    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    Put this –

    <?php
     if(is_home()) { echo '<meta name="description" content="Put your description here." />'; }
    ?>
    Thread Starter prncessr14

    (@prncessr14)

    Many thanks!:)

    Does this method also work for Keywords?

    Also does Google still use keywords?

    How to force a line feed between these two meta tags?
    [code]
    <?php
    if(is_home()) { echo '<meta name="description" content="Information about rare and collectible glass bottles." />';
    echo '<meta name="keywords" content="bottle mold, glass bottle, bottle bases, glass machine, pontil, mold seams, base plate, blown bottle, side mold seams, historic bottles" />';
    }
    ?>
    [/code]

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Google description’ is closed to new replies.