Updated Articles List

Our Recently Updated Articles List allows you to display articles that have recently updated content. This will increase your readers' engagement and your ability to get them the most updated answers they need. By default, we add this list to your home page but you can use it almost anywhere.

How does it work?

Wherever the updated articles merge code is used, KnowledgeOwl will search behind the scenes to pull a list of the articles with last modified dates, with the most recently updated at the top. Articles which have the Updated callout added to them will display before articles which do not have that callout.

A "See more..." link at the bottom of the list will take you to a full page of all Updated articles, located at /help/updated-articles (or /home/updated-articles or /docs/updated-articles depending on which root path you've chosen). You can see ours here: https://support.knowledgeowl.com/help/updated-articles 

You can choose to display anywhere from 1-10 of these most recently updated published articles.

Setup

By default, the 5 most recent articles will be displayed. You can change this to display between 1-10:

  1. Go to Settings > Basic.
  2. Scroll to the Article List Settings section.
  3. Click on the dropdown next to Updated Articles and select the number of articles you'd like the list to display (1-10).
  4. Be sure to Save your changes.

In our default themes, the Updated Articles List is already added to:

  • Your knowledge base home page
  • Your 404 error page
  • Your default right column HTML

If you'd like to add it somewhere else, or if you've customized the HTML and no longer see the list on the pages listed above, review the directions below to add it! You'll need this merge code:

[template("up-articles")]

Add the Recently Updated Articles List to all articles

You can place the updated 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 updated article links as well and perhaps a div with a class so that you can style the updated articles list.

Something like the following should do:

<div class="updated-articles">
 <h3>Updated Articles</h3>
 [template("up-articles")]
 </div>

Add the Recently Updated Articles List to individual articles

If you only want to display the updated articles list in certain articles you can place the updated article merge code at the bottom of individual articles. To do so, edit the article and click Code button in the upper left 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 updated article links as well and perhaps a div with a class so that you can style the updated articles list.

Something like the following should do:

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

Pro-tip: If you do this often, you can create a snippet that holds the above HTML and insert the snippet into your article, instead!

Re-add the Updated Articles List to the right column of your Knowledge Base

If you've removed the Updated Articles List from the right column of your knowledge base, you can re-add it by copying the relevant HTML from Default Right Column HTML and pasting it into Settings > Style > Custom HTML > Right Column.

Re-add the Updated Articles List to your home page

If you've removed the Updated Articles List from your home page, you can re-add it to by copying and pasting the relevant HTML from Default Home Page Article HTML into either the code view of Knowledge Base > Home Page or into Settings > Style > Custom HTML > Home Page.