New style hooks for WordPress Theme Developers in WP e-Commerce 3.7.5
Thursday, 12th November 2009The latest version of Instinct’s WordPress e-commerce plugin uses the WordPress body_class filter to add classes to the HTML body tag.
WP e-Commerce 3.7.5 adds the following styles to the body tag:
- wpsc
- wpsc-home
- wpsc-single-product
- wpsc-single-product-id
- wpsc-category
- wpsc-category-id
- wpsc-group-id
- wpsc-shopping-cart
- wpsc-transaction-details
- wpsc-user-account
These extra classes will give you more flexibility when designing themes for WP e-Commerce.