[SOLVED] How to: display category name on category pages
i though it would be there by default, but nope. not there.
I tried adding <h1>Category: %category%</h1> to KICKER: Multi Post Pages but it added it to the top of every article on my category page. I'd like to do the same thing for tag pages as well. |
I went with this in my index.php file but i'd rather not hack core. is there a better solution?
Code:
<?php # error_reporting(-1); |
just add that to ato->Style & edit CENTER COLUMN->Content ABOVE the LOOP
HTML Code:
if( is_category() ) { ?><h3 style="margin: 0.2em 0;">Category: <?php single_cat_title(''); ?></h3><?php }; |
Dang. SO obvious now. Thank you!
|
All times are GMT -6. The time now is 08:56 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.