Standard article navigation
Many help centers present a list of articles within the current section on the Article page. The Article Navigation extension can compliment this approach, giving visitors direct access to the previous and next article as defined by your content authors. This is perfect when your articles have some inherit ordering, as there’ll be no confusion as to what a visitor should read next.
The links will inherit the overall style of the theme as defined in your theme settings. Additional control is provided through extension options and you can even create your own fully custom templates. Using custom templates, previous and next article links can be presented as simple buttons or include information from the articles themselves, like titles and excerpts.
Custom article navigation
Because the layout and appearance of the links themselves can be fully customized using templates, you can tailor them to your specific use-case.
For more examples, take a look at our Article Navigation patterns.
Creating article navigation links
Our themes allow you to add article navigation links to article pages using the Article navigation setting in the Article page elements setting group. Once a style other than None has been selected, the article navigation links will appear below your article content.
The Article Navigation extension is bundled into all of our themes by default, so you can start using it straight away. You can find the source code for the extension within the
extensions.(min.)js file in the theme’s Assets folder.
|articleId|| || ||The ID of the current article.|
|labels|| || ||The label(s) to filter articles by.|
|properties|| ||See below||The object properties from the REST API response to pass to the templating function.|
|template|| || ||The name of the template to use.|
|templateData|| || ||Additional data to expose to the templating function.|
The following article properties are passed to the templating function by default:
The following section and category properties are required by the extension to sort the collection of articles:
| ||Fires when the article list has been rendered.|