Print

Categories List Shortcode

The shortcode shows a list of top categories, all categories or chosen categories.

WordPress Shortcode
// hello world function
%crel_bracket_open%widg-categories-list kb_id=1 title='KB Categories'%crel_bracket_close%

Parameters:

  • kb_id: (optional) ID of knowledge base if Multiple KB add-on installed
  • title: title of the list of Categories
  • filter: (optional) which categories to display. ‘all’ or ‘top’ categories. Only works if category_ids parameter is not used.
  • category_ids: (optional) – lists the relevant category ids. You can find ids by looking at the category URL when editing the category (see tag_ID) or using the plugin we developed here
Was this article helpful?
5 out Of 5 Stars
5 Stars 100%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Need help?
Previous Recent Articles Shortcode
Next Category Articles Shortcode
Table of Contents

Recent Articles