Revision: 45342
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 28, 2011 19:51 by psteinweber
Initial Code
/*--------------------------------------------------*/ /** add categories before headlines */ /*--------------------------------------------------*/ function show_cat () { if (is_home()) $category = get_the_category(); echo '<p class="show_cat">' . $category[0]->cat_name . '</p>'; } /*add_action('thesis_hook_before_headline', 'show_cat');*/ add_action('thesis_hook_before_teaser_headline', 'show_cat');
Initial URL
Initial Description
Initial Title
Thesis: categories before headlines
Initial Tags
wordpress
Initial Language
PHP