New Articles Widget

Our New Articles widget allows you to display articles that have the newest information. Your home page is a great place to put this widget to help readers keep up with the latest information!

How Does It Work?

KnowledgeOwl will search behind the scenes for the newest articles. New articles are distinguished by the last 5 pubilshed articles created.

Setup

Setting this up is easy! The below merge code is almost all you need.

 [template("new-articles")]

Add the New Articles Widget to All Articles

You can place the new articles merge code in the HTML of all articles. Go to Settings > Style > Custom HTML and select Article. You can place the merge code after the article body merge code or in the hg-article-footer div.

Either of these locations will display at the bottom of each article.

You'll probably also want to add a header to display above the new article links as well and perhaps a div with a class so that you can style the new articles widget.

Something like the following should do:

<div class="new-articles">
 <h3>New Articles</h3>
 [template("new-articles")]
 </div>

Add the New Articles Widget to Individual Articles

If you only want to display the new articles widget in certain articles you can place the new article merge code at the bottom of individual articles. To do so, edit the article and click the Source button in the top right of the editor toolbar.

Scroll to the bottom of the article and paste the merge code.

You'll probably also want to add a header to display above the new article links as well and perhaps a div with a class so that you can style the new articles widget.

Something like the following should do:

<div class="new-articles">
 <h3>New Articles</h3>
 [template("new-articles")]
 </div>
[template("new-articles")]

Add the New Articles Widget to the Right Column of Your Knowledge Base

Finally, you might decide to display the New Articles Widget in the right column of your knowledge base. This column was designed just for this kind of content!

To do so go to Settings > Style > Custom HTML and select Right Column and paste the merge code.

You'll probably also want to add a header to display above the new article links as well and perhaps a div with a class so that you can style the new articles widget.

Something like the following should do:

<div class="new-articles">
 <h3>New Articles</h3>
 [template("new-articles")]
 </div>