Article navigation

Display quick and easy navigation to the previous and/or next article from the Article page.

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.

Standard article navigation
View code
0ba0549089c5a4dcc1c13be2bb9b0d80b70cd8dc40c3ac2deeb9a8e0f8a983a485e4773a0261d98415a0f98a75abd58b99b1d4ef37d1b56ab5d6e495b67e28c0017034775548adc21a5e5ee674d7f6477e1120685bab6658a586e305d6cb7517ab1882e3b62716b5eeae812ed1c24c6c78f9de279ba7605eaac73332b9a90a8fbe1998249e8662ecc2fa08f8eda4629a21b47241f07254e59f73e82b163fc85a0f9aa992691cc38f38dc25518c11b324f49ed7fa29f6e7a8fd1fe608eaaa5b0053d0626b4ab16d33a4ac0db535ba9730cad7d0e30087b6ca6b61543a595f5b14410d00afe5ab6aedeb25e3826fcb9d5a6f2ea8c391075e8f99b3267dcfa39c9a4dcd2757d1b51e02166f2fe25c802a32a80b3fe0507315131d931ee161775e35bb9e98575fdc16b45c4d59e4cdd0d868063567e176f908fd87b7a8e4e15fa7fc1342b5a89975437af22f65791d5e161e6fda6080a5809b475f6f5f1ff2f7123296f337523fad04556c814214492c78ff1c5e97c16c0d942c94d1cb2946bcb8c64f463a9ef237cd4fda8d240e6d9e77d3149e477f692e10da257989f98107a09c28c1c84be2b476b226f212d59b938b72fca271d4e92b0c5c7712eec179f0e6959950ef955e05ea305c9f268a044bb5e9a8b2020a5f18b352c410fe722798b1d89602764651d00a7c2ffc347616e7c47b2d31cbabf5fff471c30bd40e461a5ac4474c375d3158964a4eefa809805e14456e731c1238e1a0278de1b9ddb7e47b05727266e89ffe614d1744cea51633aa1279dfca27085d6bfa60b5fe0a6f815fe8a96f894484527ff8a81ee27dacf48fd45b6c43cdb75144b9f5a35e06e612dd9ef0d99db401d9db63e3398c2100884f29cf35c6bbca350d81c2d89f25e20ad8ed7d6133414357ab61c0303b30f79190a459249cdcf5d4d2e803c0b272dcf8dfe307c0f811b24718a66ded7ee00d8f1ab8488c654505484c320e051a6f44e394b60ee7305d7f9d6310688d393de6df8d916ad5ac3c3616800e77b5ebcf2f451438b1be064ef66bd1d41ae6368700ef18cac7ae6c7feed3d1c779ba081fbe02493abf15c0c70c15306ba37c629edf876468d60d58ae477c78cd0ede29934785ca85ac1536e332bb798feba08679afebf331050261ce95284e590eb97067b4f9d64e95b6882438a7f201cc1538443c3f740f688dbeba836e146529288ce649882129388528f0bec64bdeca691eea6dd7dfd74600e3e9ffb9a8f6ebc7ab569d73ac6eff2e02b17f2c638d7c5a358596095f306e2fdb63c718f6456a29c42a9d49e3ddf60cca304c6a5b1cce2710a82e4f015daddb57483fed27fddf6a86cbbee6272aad98906e696f27c89024d28d6dfdef5c5727c6d5763a737bea91712eaba580d49c487c5296af2e114499375394ae72322d225055c4940646f6da87c4698a2dd8cf34de8abfee0a93c026fdea2cf274014f299e826f501678a0c0f14d78797d28ecece6d750a5d8886e4710978277553559278da139955eb018b65f38768304bdf16e1910b273b869ce5df3c7c32a71feaf133b84999f9a579a194b67c981793bffd72c808ace547fdfbae616ddb7c2d63aadf385d39bb207c86ac15588cb453f2d7043c420f845fafbbd6abb31571f0c7e07bb893a5daeaf20c9d4711339bd463b8cd0d1b7a7a7cff19e0a06871ad46ccd33db6d7367733c86eddd32980b23fbe3bdcb7d77d937fd38b7373dfdfe18b8b88d29c06463baf81f7d45e0b394ce2c104c010879950ea13c4a2cabb8efb2c56665b878369a8cb3127e91edc8472ec60329c700c6df01c328ca499f7e234ed060f7d1311ce453171e0e0c18dfb6d4c048567d8ac35e395fdf6964d17ba943cd5c68f152d6008615dfa3fee397deff71a839139b34673c6fd061d939e8e33ef295b8d7d9fd437a95e33240700aff1c7db0e9000a71843422ad197a318ba07a726ecbe5849226028e97e20eb704e575754551878782753aa4afc092255884b2a9cf591d9ff0715b62153a99eedcf31318b1c4ecee6b1db1944c50e81246fc7f8e98830b6cd48bdef623f2f618e6a6c9fce0e2f3290aba43e4eba77bbcd3eb2ed8f125da914c04335ab672ab7bd4edaa30a458d074de295416f0c00b59990eea5d836d591d0aae79397b54c9fd8c7d1bcde7e2133bc9c72a74350fa136fe37ef1d397e51d91dca4e6b2ba12e7ca8cb3fa8327134ff4467b5c481619ed3941bcecc1a594254bd768d43fce1e5509c00fa76

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.

Next article link with summary information
View code
ad25cc4f65557880fcda85222185c5e4e9998ba319742ba09988aaae61f28ce4f2af01f82b5ac969e42b453ef59b535f6e712f456a6c421463ce8ea1dc6655f43ac9c4e3a7381f17f46155f34523a52810833cb4540a0b87e67068e710add9aede9053dd4899911b2a750794e831f8c806b8408af791391c64909efc3c12e062e80e74870a73fb3b9f9b3a74443ce528ab7f94017211105e54e8e438ed510cd4d08f5b60a9afea9bfd2d73502c89d47556d7009717ddaca233ca8817d83c9c2fa1ac96805daa4f2ec880231770abd904dba4cff05f75fc96698d51e853fd43faf5caff082e2813a788db0fafdec1c7fe537aed756a54f42da91394fd7eaa63ef89b48668ad556430d6f76436a6a78f3b248139d09b09498782e9b960da83276bd79c2b4769b09abe81fc96c701615dcce697d42e3a1b43d8a8559db655a43fab63839c3f3394e3e189f1c461d073c956631930596e027f1b638e49bc3f65e5d8bce6b8cdb7445e646f0d7eea13e1b5ebf8bfa01d9d2c42662b108b4902aecd3215e4a5b419ef9021d19f882c6bc1c818839c7d57dffddd75b2f92718c5f19baea0cb4869cbd27715eca1001c1c3f5e51b68c32142d9af313e57d58efdd113cdbf862d7cf92645df1eaf101c6a310f6e6323fde38906334fcc04bac221f55ff2252e1af377050700062112a2af9563f1f4cd25ad8ad00e2910b7a7573a756c398c8ced93427577c1a5fad64e707c62e5e3905f947ded0a05ca609b4b4756d4e0a1c7d97721cffa8016dbf38a936c0dccd25f43b39cee8dee9e1a743a333cddd358b873ec994a070b0feab2160064d7cce4fdab1368cb77163cb1263032683bdc2bef9c554badd80813ccb55aa491ba672c44eafb16d0657bb914fbe3f816996f832fe0d5523c6051fa6da4c7b5d107fc2fb248ee06b6375a36ac1d0642dbdbf8c3f0ecd9869744d193ba85c0246cf52b2ebcabcc4700cc76881b27d69f0446f3ffcd0a035d5b5868f8ba653007659685a17541a10af831f17a5b3f2ccba56f4dd13c82f9fab7072187bef2d3d0e040495b4fa0c85572f4c770a3aba2c6c5cea6ee0070f8ae64a45f0bb99d51bb7310d2507c2f6b79c62c667f89ad3f63c73e6843be1e7a3aa5c35314ad46749e6bcf4d80e4884318010eb4d35c54096ddaf839c6ad6ccc2e7f302a258ac8cf3b9a6dc3cb4c82c2c57bc43eb6f29c02994f699fb111adc742a826459e47849ca8eae19cd73c320f664d7ca2459682116a9632b50ef005b3be7fcdcb8d4a10a7ec36e65f911f11206c057611d1657b710c73dca887993e73801def95f0ec52f3097917ac5dd3556c98935e0cae12452a59855c20505e5039296c17ac4b1805ed87a3ca59b2e671b2ae7dd1e21d6d11e4eef987a4ce7d0eb049e6217d7950e98bb37277a45688b38e7a045d1dffae97c380b44bc8a3e06650b84cde41f9ca92e8e9ffe2f04cc4a3a0c06545455d186efe1fe6d916482d60d7ca1ee6049c4e4fd2e7019518a90089c549c1e640d21259aac4e541fb49d0de8a28398eef06176c5295ca707e4b7885ed09cc0444cce44c7c37d4d82a67afc7f0ca8ddbc334b3260f4d6586a1d55289bd44f0c191b61fb2818bda255a409d2b43b964cc9f7dba7265b85c423293da7ef6500d63d25fba96e29a74cf517a684241855dcdba9f69630289fca8cb057a7588a9d010cbde6508b5f26daf02db0708035e0ec839cca20df90e292d8c7159431c61ad01e75a49616f6acefbb3bcdd82f7914606f443e90a92eb2b4bb16fd4a04bc591517ab384e00f00a287df894af2282d041e7aeae5768422c5d270f4558e324ae30ba3185eba7b74021989fea021d2295f5071d705d946f2a8f40251ac4858e9155c47caddc605e386d6473ac5ea477475e033354cdfff2d984b2326494f5efaa17112cfbbbf9c3c12f73d91fe53923b484e7b536ee73f527bf2d73e6456754ac0c768ea3c5d71607cf27413c4ca33216b3012b5761b05e34c14a3a53f5fb2676e214726fbe463f1b22f427ecc1101ef73c8b2106aece91fefb0b85bb095e939be9ac4c2bbaa151d3b9ca1610d14e08262cf913f935895c3f68f864ef767ecf5c91ea3b5c95bc42bea117a770579331e59a432b70dab6f8328bc67723cce039b2a86704f7245df1b76a87d6f9adab6ec1b5ce548cafd547eb088b0673516f9145f106e4c5dbe6b3eed3f3aaf29a175b9654a00bbcde6d5551ac77b9b37f3f757aff883797d5dcead1769fa2c0f5b8b86c8d5fc47a270572b1bec7ff1cff18e160988a266fed714be6680ec42934af6c5371926b6fb1fac98558b86e85f02e90464ef09b27d72fc191fafc77fea0b6c616dd80942b47d89a5af5d5a90fcba16dfe86ca032a416a130e784b3bb7e182bdf76a16b27b06cba195ac93cd516b168e84f42d7ef0d659542950ac006467e7c9e8288d250b72827a451558685bdd43fdb4d2ed8179df637688bc3629e91e90886e4c2ae755ac3bfb5f0b381657dc3e385e6c14a88b19e0f9e05bf830789076c68ba7d22a8e6e39bfeec5c427603dd8a5cc222357487517326d22f28141228c096a8fcfd6c57f1417e031939af89ec2f32ef2e88c5919cbd7b267788654e7fb3a043af95b269cd3acc9bc0b0fc2d4a474e2504968aee02848c14e80315e9c18d1f79030ed688fb2a11a40a44b1c07b57fff927bca6e928b2c9077647a94ec6e7e38156ee194401805f502fdee49e72ee9e64afa9f6e9779cba63bf5aa0b8ee65321ac8e9746eec91428e3deddb9a3d9975d853c0cdb33fa935c7c65e3c941f860fb6baed86ca8ada059787aee04f907b5baa73b700b93e435ddb1b455632e44bb172dd620bdb546511db5a2ec064a832db196e4dcc61e546003ae1079d9b45e6b3b435c14b4abcf95d188bd4a7b5a5593669eab18ddb187a5195c571dc38f82d20478eacb27b99f4624f2db0176c14c3ceab4a5258ba81c8afc572ded36bb43971814bbb63ac75731d17258545aafd58361b030d4b3fa3bba287e8646bc2eff45d57b140619d5c4f4da307113e23e882b17705097b715eaa5c8577ae1c74ba9f9f12422bc43271c1bc286ed4f19d811717fe5d192bc930d6d96f4c6ef4d1c341249fa0d54dbf8c5328a259832047f3194161c545b587afe71c17787e1e73d8c89e953e99202d0ecdbd4acf0b7c542ae09c545731021d3c4f84a4d6c178a991790938c45ecab3675ede6be39d00d1d0e3ee18b7600092a9cc6072735c402be07e0a1f9cec0abefcf2301627e066f1560a71a8e3c6a878d06ac39b11e73fd1000927fc0d28fa04173fdec6de90322292fa9c32d27739a16e13e35acbd8396ee5c9aafe81a15d3addb1ff39a118c4aba25e60ea242164fe42dcae972a9a04396d0df5b0e828165a383a23205f836b8b2c2792acbd36207655b8d420f7432ace7b5b8f0005cdc80938b728d45065cb49d4542f8618598a3e45d6871046ddc50b4cda240c2861bc7242527520245f1ac650983b97ee2d92fc39a7fbd9fcae7df8a4f76df5a88488aafd2d768df6367c2024d8da6eb1c522f916cc6aa4d3d87199968f50e177cd012b5eae19a4d8a099a4e870a292d962d47157b7bf6b2accb536789fb6cde9161c48c0801b46de3842852c72478851f0d9e58e651609896581c5422c3cfa8f2c938eaba1cbb9d6bc8ac6ca56a1f226bd5bf44881553c8d47dfe1d29eefe58135eb8ebfa760b29eacedcbc5be6359b6482975d57a3f6a9eed051d98e2009da25d6cf052da84aa32db4a16c739113de9059255a65d3c7367ad06f16d883ffbcb696166d5a73aca2eb549cc1618ba0451c04d6626e5a5fe05d15090df36fa9984ab3ce79662d60ebafc7d513b091254cfdfa8eb6dfc6468e4695cfe8d1953b1920680ea57a3db4dfb4fb42dbfa7fa9884d38e79c2fa42e10b6e30d58c624e49855eacdd8e8509063a436f44579218a9fb5b8898752df54fc1495d77169bba894f718b23eba7eab159760f4c3a641aa4f8b50c708bee439ea11bbbe0cb5ceaff12113aa5966aeaefa9b7e663bf85721efc7a04130c2d81d673060010f3bdc8f7d292df57d7fd52278103a825f33d28328ceab4b66204cb3a773293c9cbdf7858c83835477b619ee8765e26a749df888b7a39c0db99604e464b7c9edbac4679bd507af9d2949b15100fcc4c26034b94345b7e8ae2a0e77d9f89b2874f9c5647ef313aecc14aea9eb6a3aa8d0eadcfe96327e05cc2b5b385148100682a4a8045c68b77552854bc37819c3a3b572ec23f018b3053fb9d24dd2384c9306c0886a18cc1468375cea5198887d10752383beb5518312795a3283fbb8527120d1e58f9b8800dcaacea785a30d3446fffc85ebaf1451867a5981de973ea0aa58066a7f248fadb6d02c891573dc7bc8dfc4a73f1c17a427acb087998fea8a153558fe4697a1fe05edb9a6e717113e8cee31565c710e38dc57dc45ad4b1afff2f3504fa014f90438fe56fb043f5ca8f534f106fa10f2def489db56781a6599292496e41f90a2ade60de4c17a7b49c62859236762678a542a2dab7e5311de5c334e5ccc274adf072a91bc94815db9cac7fe7b8929ef1a26e1287aac6cd905457319c69e5feae4cc5124ca36cf32e7625da5fd264c3fc6ef6f6ddd4bb10ad3e4a3c2f020afb654b005a8c3c73a612d91e1f57c542483fc0d3c044036228df3e846d427c11c866a7e4c6add4fba1b18dd3ad1062d6f273645e8262f2d628b07352e48fc9d93593f332372ba3193445639703ab34e8f389b5adb9d746d22daafbbed8a8fcc0a051b484b3ee1bdc8871b4a5ab57e9fb8f11c71eef575c3a7d5c90c7f284dfe0b5f3c31dab9307d371d4f49b77cc11705e9d0c467c801eb13eec88e4ff11876b5122b9cd00dcb087634369bbd73760bce49ad89dfa7776aa01565375acacffb2ac55acd643f22d251abec2dd09c8f76fcc00d8c4656ff317642ed6013ca93571977eb410064ee3004c794ca8586881a404528452acd6976d83d89ddb144a02644853af2d167357912ded8d899b4689234c219ee66a42e592a31d8b5251bce96dbc13aff111acba6a76f4deb2471fdfee4e820a7b560afe960d7e44b13cd67b6f989d0fa3d6c8d4a3e32686ebb9f0b23a0d3c86032d89ccf763710b7ea88eee4590ef833b13807f92a624b909d85ed10df073e8fc9988d7646de1bec72

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.

Use data-element="article-navigation" on an element to create a dynamic article navigation element:

<div data-element="article-navigation" data-article-id="{{article.id}}"></div>

If used outside of the Article page, you must provide an article ID using the data-article-id attribute.

If data attributes are used you will need to ensure that the allow unsafe HTML setting is enabled within Zendesk Guide.

The Article Navigation extension can be instantiated against a element using JavaScript:

<div id="article-navigation"></div>

<script type="text/javascript">
  ready(function() {
    new ArticleNavigation(document.getElementById('article-navigation'), {
      articleId: {{article.id}},
      // Options go here
    });
  });
</script>

Options

Name Type Default Description
articleId string
number
null
null The ID of the current article.
labels array [] The label(s) to filter articles by.
properties array See below The object properties from the REST API response to pass to the templating function.
template string
null
null The name of the template to use.
templateData object {} Additional data to expose to the templating function.

The following article properties are passed to the templating function by default:

  • id
  • title
  • html_url
  • position
  • promoted
  • draft

The following section and category properties are required by the extension to sort the collection of articles:

  • section_id
  • category_id

Events

Class Properties
articleNavigation:render Fires when the article list has been rendered.

Related extensions

Category dropdown Free

Category dropdown

Display all categories within a menu in the page header.

Collapse Free

Collapse

Create versatile collapsible content areas anywhere in your help center.

Featured articles Free

Featured articles

Display a list of articles with one or more labels.