Add gategory description - cant find the category page parent file
I have found the function which outputs the category description:
function category_description( $category = 0 )
Now i need to locate the page, where all categoryes are populated, but it seems that I'm not able to find it (its not archives.php).
This tutorial states that archives.php is the correct file, bu开发者_如何学JAVAt it seems like there has been some structure changed recently. Category.php is only the function holder, not populater.
Wordpress 3.2.1
I don't know if it's what you're looking for but category_description() calls function &get_term
in the file taxonomy.php
Solved the problem, it was just badly/non-conventionally built theme called LightWood and all the switching (pages, categoryes, archives) was done in index.php
精彩评论