ThemeShaper Forums » Thematic

[closed]

Adding tag descriptions to tag pages

(1 post)
  • Started 4 years ago by Erin
  • This topic is not a support question
  1. Erin
    Member

    I wanted to add descriptions to my tag pages, just like they are added to category pages. Since Wordpress does support tag descriptions, may I suggest this be included in Thematic too?

    Here's my code in case it is useful to someone else:

    /*
    * Add tag descriptions to tag pages
    */
    function my_tag_page_title($content) {
    if (is_tag()) {
    $content .= "\n";
    $content .= '<div class="archive-meta">';
    if ( !(''== tag_description()) ) : $content .= apply_filters('archive_meta', tag_description()); endif;
    $content .= '</div>';
    }
    return $content;
    }
    add_filter('thematic_page_title' ,'my_tag_page_title');

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.