Starts loop to show all or selected categories.
1) Show default category
| PHP | | copy code | | ? |
| 1 | <?php wpsc_start_category_query(array('category_group'=>get_option('wpsc_default_category'), 'show_thumbnails'=> get_option('show_category_thumbnails'))); ?> |
2) Show all categories
| PHP | | copy code | | ? |
| 1 | wpsc_start_category_query(array('category_group'=>1,'show_thumbnails'=>get_option('show_category_thumbnails'))); |
Do some stuff here with the category data.
End the loop.
| PHP | | copy code | | ? |
| 1 | <?php wpsc_end_category_query(); ?> |
