Categories - noncasus/ultimate-utility-shortcodes GitHub Wiki
Shortcode Summary
Allows the user to retrieve a listing of all categories.
##Use Cases
###1. Display all categories ordered by amount of items
User wishes to display all categories for his ecommerce site and order them by the amount of items in each category
Example:
[categories numcols=3 orderby=count]
##Elements Utilized
- Title
- Featured Image
- View Item Link
##Attributes
- id
- class
- numcols
- orderby
- order
###Attrbiutes Explained
id
(optional)
Used for adding an identification name to the element which will contain the posts.
Default: ultimate-products-category
Example:
[categories id="my-categories"]
class
(optional)
Used for adding a class to the element which will contain the posts.
Default: ultimate-products-category-class
Example:
[categories class="my-categories-class"]
numcols
(optional)
Displays the categories in a set number of columns
Note: Number of columns is determined by Twitter Bootrap's default of 12 columns and whatever the user specifies in the shortcode.
Default: 4
Example:
[categories numcols=5]
numcols
(optional)
Displays the categories in a set number of columns
Note: Number of columns is determined by Twitter Bootrap's default of 12 columns and whatever the user specifies in the shortcode.
Default: 4
Example:
[categories numcols=5]