single_cat_title deprecated in wordpress 2.7
December 15th, 2008
No comments
Function single_cat_title() displays or returns the category title for the current page. For pages displaying WordPress tags rather than categories ("/tag/geek") the name of the tag is displayed instead of the category.
Usage (only outside The Loop):
<?php single_cat_title('prefix', 'display'); ?>
Next example ...
Categories: Blogs, Bookmarks, PhP, Tech, Wordpress code, current category, get_the_category, PhP, programming, single.php, single_cat_title, Wordpress, wordpress 2.7








