WooCommerce Product Categories
Display all or some of your categories to your viewers. This shortcode allows you to display a category box and a number that shows how many products are in that category.
[product_categories number=””]
[product_category category=”category-1″ per_page=”2″ columns=”2″ orderby=”date” order=”desc”]
Complete Set of Options
Every option and description included with the alert shortcode is listed below.
- type – Can be one of these values: general, error, success, notice, or custom. Sets the type of alert message.
- accent_color – Custom setting only. Accepts a hexcode ( #000000 ). Sets the border, text and icon color.
- background_color – Custom setting only. Accept a hexcode ( #000000 ). Sets the background color.
- border_size – Custom setting only. Accepts a pixel value. For example, 1px. Sets border width.
- icon – A font awesome icon value. For example, fa-glass.
- box_shadow – Can be one of these values: yes, or no. This will show or hide a box shadow below the alert box.
- animation_type – Can be one of these values: none, bounce, fade, flash, shake, or slide. Sets the animation to use on the shortcode.
- animation_direction – Can be one of these values: down, right, left, or up. Sets the incoming direction for the animation.
- animation_speed – Accepts a numerical value from .1, which is the slowest, to 1, which is the fastest.
- class – Add a custom class to the wrapping HTML element for further css customization.
- id – Add a custom id to the wrapping HTML element for further css customization.