Popular Articles Shortcode

The shortcode displays a list of the most popular articles based on article views.

To enable the article view counter feature, please refer to the article here

WordPress Shortcode
				// Shortcode used inside the WordPress Editor
%crel_bracket_open%widg-popular-articles kb_id=1 title='Popular Articles' number_of_articles=5%crel_bracket_close%


  • kb_id: (optional) ID of the knowledge base if Multiple KB add-on installed
  • title: title above the Popular Articles.
  • number_of_articles: how many articles to display.

You can use the following CSS to make adjustments to the shortcode. Code comments explain what each part does.

				/* Change the title font size and color */
 .widg-shortcode-article-container h4 {
       font-size:18px !important;
       color: #000;

/* Change the article font size */
 .widg-shortcode-article-container li {
/* Change the article color */
.widg-shortcode-article-container li a {

/* Change article spacing from the left */
.widg-shortcode-article-container ul {

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%
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