-
Echo Knowledge Base
-
- Order Articles and Categories
- Main Page Width
- Main Page FAQs
- Set Image and Font Icons for Categories
-
- Article Page Width
- Article Layout
- Article Sidebars
- Article Page FAQs
- Embedding Google Documents in Articles
-
Add-ons
-
Access Manager
Print
Tags List Shortcode
Created OnFebruary 18, 2018
Updated OnMay 26, 2022
By:Dave
5 out Of 5 Stars
1 rating
5 Stars | 100% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
Views493
This shortcode will list KB Tags.
Parameters:
- kb_id – optional and used only when Multiple KBs add-on is active.
- title – heading above the widget
WordPress Shortcode
// hello world function
%crel_bracket_open%widg-tags-list kb_id='1' title='KB Tags'%crel_bracket_close%
The following custom CSS used below is for the above tags example. The default tag shortcode simply displays the tags in a long list. Here is the custom CSS to have it look like the above example.
CSS
// Custom CSS for this Shortcode
.widg-shortcode-tags-contents li {
list-style-type: none;
position: relative;
display: block;
float: left;
background-color: #e9e9e9;
padding: 5px;
margin: 5px;
border-radius: 4px;
}
.widg-shortcode-tags-contents ul {
height: 175px;
overflow: auto;
}
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% |
5
Table of Contents