This shortcode is used to display a list of the Knowledge Category taxonomy terms.
Shortcode has several attributes:
- class: additional CSS class name to add
- type: content type to show categories for: ‘article’, ‘user_guide’, ‘faq’ or ‘reference’. The default is ‘article’.
- product: limit the list to categories for the specific product by product ID.
- sort_column: column to use for sorting the list of terms. The default is ‘t.name’.
- sort_order: order for sorting: ‘ASC’ or ‘DESC’. The default is ‘ASC’.
- show_counts: show number of posts for each term. The default is ‘yes’.
- cached: cache the results for the number of hours. The default is 24.
Sort column supports following values:
- t.name: term name
- t.term_id: term ID
- t.slug: term slug name
- tt.count: posts count
[gdkob_categories sort_column="t.term_id" sort_order="ASC" type="faq"]