WooCommerce Shortcodes Comprehensive Guide Product Categories Product Categories 

Visits: 381

Product Categories

Product Categories allow you to add product categories loop and output with this shortcode: [product_category category=”one”]. For the purpose of categories section, here are seven more attributes you can apply to this shortcode:

‘number‘ => ‘null‘, – This shortcode represent the number of categories.

‘orderby‘ => ‘name‘, – This shortcode represent the order, “name” and “date” are valid options.

‘order‘ => ‘ASC‘, – This shortcode represent how product categories are ordered, “ASC” or “DESC“.

‘columns‘ => ‘4′, – This shortcode defines the number of columns categories are organized into.

Product Categories Product Categories allow you to add product categories loop and output with this shortcode: [product_category category=”one”]. For the purpose of categories section, here are seven more attributes you can apply to this shortcode: ‘number‘ => ‘null‘, – This shortcode represent the number of categories. ‘orderby‘ => ‘name‘, – This shortcode represent the order, “name” and “date” are valid options. ‘order‘ => ‘ASC‘, – This shortcode represent how product categories are ordered, “ASC” or “

Source: WooCommerce Shortcodes Comprehensive Guide

Leave a Reply