Quote:
Originally Posted by The Dawg
On a custom category page how would you write:
Code:
if ($category->cat_ID == $this_category)
I want to change the color of the category button IF it is the current category.
|
Code:
echo get_category(get_query_var('cat'))->name;
will print out the current category name on the category.php page.