Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127
Adding tag descriptions to tag pages « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

Adding tag descriptions to tag pages

(1 post)
  • Started 5 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 5 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.


Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::spool_analytics() should not be called statically in /home/themes/public_html/forums/bb-includes/wp-functions.php on line 586

Strict Standards: Non-static method GA_Filter::spool_this() should not be called statically in /home/themes/public_html/forums/my-plugins/googleanalytics.php on line 183