wpsc_print_category_description

Located in: Located in: category.functions.php
Version Introduced: 3.8

Description: This template tag will print the category description it must be used within the category loop. Showing the category Description is an extra setting so its always good to check if the user has that setting turned on before outputting the description.

[php] <?php wpsc_start_category_query(array(‘category_group’=> 1, ‘show_thumbnails’=> 1)); ?> [/php]

Code Example:
[php]
<?php if(get_option(‘wpsc_category_description’)) :?>
<?php wpsc_print_category_description("<div class=’wpsc_subcategory’>", "</div>"); ?>
<?php endif;?>[/php]