WordPress.org

Ready to get started?Download WordPress

Forums

Adding Description to Tags for SEO *HELP PLEASE* (3 posts)

  1. coolguy123kool
    Member
    Posted 3 years ago #

    http://i51.tinypic.com/2jh6i0.png

    If you look at the image above, Each tag has its own default description. These results come up first when they are searched.

    I want to do the same for my site. I want to have a default entry and add the %tag% so My search results will be better.

    Do I need to add or remove anything?

    Is it Meta Description for Meta Tags?? Please help!!

    The links above display a description for EACH tag.
    I am using WP 313

  2. Tara
    Member
    Posted 3 years ago #

    see if instructions here help.

  3. coolguy123kool
    Member
    Posted 3 years ago #

    Where do I add ?

    elseif {is_tax ( 'product_tag' ) ){
      $term_slug = get_query_var( 'term' );
      $taxonomyName = get_query_var( 'taxonomy' );
      $current_term = get_term_by( 'slug', $term_slug, $taxonomyName );
      ?><h1 class="entry-title"><?php echo $current_term->description; ?></h1> <?php
    }

    [Please post code snippets between backticks or use the code button.]

Topic Closed

This topic has been closed to new replies.

About this Topic