[recipe-cats]
The [recipe-cats] short code is used to display a hierarchal list of categories on a post or page. This short code supports the following options
- parent: A category ID
- Format: parent=ID where ID is the category ID.
- Default: NONE, defaults to show all categoires.
- title: Display a title above the list of categories.
- Format: title=”The Categories”
- Default: No title.
- ul_class: Specify the CSS classname for the <ul> tag in the list.
- Format: ul_class=classname where classname is the CSS class name to use.
- Default: recipe-cat-list
- li_class: Specify the CSS classname for the <li> tag in the list.
- Format: li_class=classname where classname is the CSS class name to use.
- Default: recipe-cat-item
- show_count: Whether or not to display a recipe count for each category.
- Format: show_count=1 where 1 turns the display on.
- Default: Off
- count_pre: Text to display before the count.
- Format: count_pre=’ – ‘
- Default: ‘ – ‘ to place a dash between the name and the number.
- count_suf: Text to display after the count.
- Format: count_suf=’text’ where text is the text to show after the number.
- Default: None
Popularity: 6%
