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

  1. coolguy123kool
    Posted 5 years ago #


    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
    Volunteer Moderator
    Posted 5 years ago #

    see if instructions here help.

  3. coolguy123kool
    Posted 5 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