This shortcode is used to display a list of the Product Group taxonomy terms.
Shortcode has several attributes:
- class: additional CSS class name to add
- 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_groups show_counts="yes" sort_column="t.name" sort_order="ASC" /]