WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] SEO ultimate and meta description tag (5 posts)

  1. pehlavoon
    Member
    Posted 3 years ago #

    Hi everyone,

    I just downloaded and activated SEO ultimate and for some reason the description tag is empty. These are pages and when I enter something, nothing populates in the code section. I looked everywhere. Here is the code I am using to get my description from SEO ultimate.

    <meta name="description" content="<?php echo get_option('description'); ?>" />

    Am I missing something because it only returns:

    <meta name="description" content="" />

    Please help!

  2. John
    Member
    Posted 3 years ago #

    SEO Ultimate should add a <meta> description to your site automatically; you don't need to add any code (unless your theme neglected to include a <?php wp_head(); ?> call in header.php, in which case you'll need to add that yourself).

    If your theme has a <?php wp_head(); ?> call, make sure the post or page in question has something entered into the "Meta Description" field of the "SEO Settings" section of the post/page editor.

  3. 3r0ss
    Member
    Posted 3 years ago #

    Use all in one SEO pack its much easier and a lot better.

  4. pehlavoon
    Member
    Posted 3 years ago #

    Well, I tried it all. <?php we_head(); ?> is there and was always there. I removed the title and description codes in the header and thought the plugin adds the code and it didn't.

    I tried:
    <title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
    and the title came up. So that's okay but the description is still empty.

    I tried:
    <meta name="description" content="<?php bloginfo('description'); ?>" />
    and still nothing.

    I am at a loss. Please help because it's literally driving me nuts. Thank you!

  5. pehlavoon
    Member
    Posted 3 years ago #

    The problem is solved guys. I simply had to remove and add the plugin again. That did it! 3 hours down the drain.

    Thanks for helping. I really appreciate it!

Topic Closed

This topic has been closed to new replies.

About this Topic