coolguy123kool
Member
Posted 11 months 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
see if instructions here help.
coolguy123kool
Member
Posted 11 months 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.]