Print

Tags List Shortcode

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
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Need help?
Table of Contents