-
Echo Knowledge Base
-
Add-ons
-
Access Manager
Print
Categories List Shortcode
Created On
Updated On
By:Dave
5 out Of 5 Stars
1 rating
5 Stars | 100% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
Views156
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
- order_by can be either ‘date created’ or ‘date modified’. Set to ‘date modified’ if missing.
Example
Views156
Was this article helpful?
5 out Of 5 Stars
1 rating
5 Stars | 100% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
Table of Contents