Canvas Category Description
with Canvas archives settings, please add an option to display category description on the page.
This is a great idea. We’ll look into including this in a future update to Canvas. :)
5 comments
-
Knuth Becker
commented
I don't see where this function is. Can anyone help?
-
Sean Dawes
commented
Any chance you can do this to accept html from the category description field?
-
Elliot Taylor
commented
This should do it. Add to functions:
/* Change Archive Template H1 */
add_filter( 'woo_archive_title', 'new_woo_archive_title' );
function new_woo_archive_title () {
$category = single_cat_title("", false);
$new_title = '<h1 class="archive_header">'. $category .'</h1>' . '<div class="new-archive-description">' . strip_tags(category_description($category_id)) . '</div>';return $new_title;
} // End filter
-
Bryce
commented
You can accomplish this by adding the echo category_description(); to the taxonomy loop for example.
-
cfabrice
commented
it works already ! also it is placed above the breadcrumb !!!