wpsc_end_category_query

Located in: Located in: category.functions.php
Version Introduced: 3.8
Parameters Accepted: None

Description: This template tag will end the category query, and start outputting the category loop

Code Example:
[php]
<?php wpsc_start_category_query(array(‘category_group’=> get_option(‘wpsc_default_category’), ‘show_thumbnails’=> 1)); ?>
<a href="<?php wpsc_print_category_url();?>" class="wpsc_category_grid_item <?php wpsc_print_category_classes_section(); ?>" title="<?php wpsc_print_category_name(); ?>">
<?php wpsc_print_category_image(get_option(‘category_image_width’),get_option(‘category_image_height’)); ?>
</a>
<?php wpsc_print_subcategory("", ""); ?>
<?php wpsc_end_category_query(); ?>
[/php]

Comments are closed.
KIWI