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
70ef12f395bd94c086167252a05bc9395a23022efd8e967d7417036580cbfc6a1683e53217e3eac9e19c0d167b1008f2091d3fca4f8ee269f3ef7e91cafa236d2f629764fbcfeb1c2d7d0fd6d0e0b4d8d7b217bf89cc8034a3a3dd2a1cb2ad7ccefbfdd235e47c31785f2f327a9c283a9fa4ecefc2ee480239c13ec5c4cdf84a747bed44b1ca8dab5bed03dd128184c03b2ef1c896a88485a9234dccafe4fd11208f7921613d73a00e0ad2838ea31e6075ee28fa8b21808222741379c5e8f4c3fb3d08db9d4263b5335d7daffeecb75bdc5a9c912530ed32a3989b5439b0da2a232ed60241b64e78dcbf734c310c994bb60394634bf9cded759129c4119b81de0f3e483e6a749bd9e2ef8eec3c18053c3a3a909a9211ea7928d2da09c08de612351eeeb79de83c0967a4c898d11ae8a36da38d68254a3620618e3bb29400332169aef54355f2684f2daa3a3f95f251f5855b13d631a38302ef332c3d988d6cd596e41e25616f4c1250aa948470a7389974e0907b9004a0dc21a69caa6bbc37fb8902d60ba3ed168af29cdaa355807f1227fb06354c20ed2eef780c2684b5531407d2733326885d225612c41773eca09200387efa3bd0b057212d174cb30585307d7cda894bb174161d5e51ad6d00e2f34b8bffedbdea069b7c12f064580b5d765240fa1cba4b4054ad0e01d78484400ca022d529bdcbd784e4dceffdac4ae2971aba810a0b11521c0a8d09f3fa7031ce36356aaf50a7d0e948689147cd6c155482e6cd7fb1c457c4a13dc902af43f3830382df4a2e93e80c58024f2506f7f3be8768d8ac0e3de8926aa7f1ba7efc47f50d0be77efcb650221976fd372ef6c46189d633fd3778cdc51205f9dbfa0460904703fc3eab20d3014cdcb8a2e339b6859cd81881e3dbf7493af48acafb34a3b16bc3ddcdc632318ca2f2f4f4d75fa9fb0f88eb2a069a6c83f04ae2c18f9aa95fdb4af30cf5518aba1692f89e96704770646662eee49b104047aaf9e4e9d63380d50f1170596399c394ec548f5c7fd550d59c6132d28e74f947438ecbd8b89b8cbb24dfffe4cbf676d112f0500d8a2e038b10c3c7ee72ab3dabc166223a059ddc07eead7a682dfb2a27fdd14314c0ff392237cca4f90632d19f1308d4eb796741fea57f9d48091630aff061e2b59c2807492a46ff3d31062c375eec54ae3ee8d72b39e64ad223a15b50df838528d8bb5354805efb551e1f99f8a206baa4c9a456639e1420df9eb989bf5a1de2e8f46dc2c3ec5713046a651029b8505b2aef5913c8089c4ead8a8bdb65df63982dbde98796f6758458461f1aded6bb58b1dcb7455b40e8f70ee97b753d31578560b11d8d54877feb742449ad45aee6caf8cd1a5d6d34853012bf151b96fd7408396f1e3aeb47ef3341e470b282724a424de945106a5e72b688a598cfa300bdf02b378b97dd88b62c09c3ec628ebce8c43f47b629d1b3a8c9ee7aadeafd197fb93343bcf1401572c72c35559a4be3d3303f3cc59c32b71a966955e4b1e783ad1b8d6e2f9dc19ab2c5171c7c1d3e24cef92c90388fb86c959abe2f91e2035e7f8f0a2be35239a5e028320043cd5885e4b135c2ee0a06cf842fe7eed490b052a0dc225f0482f5c288ef9bccdf2330a8e1026b5441391c28d37723d63f06500573abb7cfe7683e6584f9e269fe9920ef64e27cbc0bfda619a621448d45605fad720fc36832d1388ed01345a369787205518f15f335b110849c154ae49a8a55a8a98279327fcb428423d850596c0008c4a12295e7cec06e6df59623c8c7eff6ff89e4282dac971457e86216f2c86eb2cf66543b49b8eb8e30d7579a5d976a65953cfcd93489312c0becf107f82d26f05c4d969c276660c2df48e909d42e75f95bb7683b5fec9671d58f269a812946c772d46b757c63db7573c00d8c35139c2f72fa6435f514f06d8087a073799f77f44bc9c72fad13150c88a008b3d284eb04ca4ce16a17667b5657ac8de273820d15bb023ba6dde01d26443358a32518d279c9b5aabf2223b28bce3f35008f48ac69c4d9c97887c7f3ef451c46b7b704fddf49759a2e86ccd792f518a16c791c692eb4427fb9a2256dbd3245bbc12569128cfde1421aee28896e3f1dbfad64911a5e9161aeac4a44a9bc2f616b750cfd4d9b5d8326b413d931581fc0da4e5dd52f73c9b15642f33a860ef3245ad6be46fa685f43421205cb6aff335e5c1f2143e7c340e939c0d9388475a3a11f667cd7975f131fb3e38b5d99

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
858dedbe16927745b8e5ea320f73a6bc2201a10b2e2072b8c398f002988cf52eb271394b7e6cf0dc40e9ad7b1231ce8d7059d205ec8d5678ce2ecfa8629aac2375f4b2c22a33099123d6557695eda74281c9d34dca8128fcd4cb206796635fd6eb48b409ef917946832a241397ba00f0a38ebeb7d8a9de096197fe5262099e5272fdf4a00407a46599586d234bfb2847c430da18b4b0cbe5f329b5c25f6281b7b225940377e49d8419ae35fb2851332d71da7f92ed660d6c384113944acde2c7bd467ccf0db09c3d2cde316a67f06d82c8929813e53eb328e381ec89e53ea4f14935245da79de00b9ae91e538191f4328c35b0103c21fc3424ed4c72af91d1d180f5591e040344ffe3214169dca4355ef354ff6575b60bd78a79317b6005d0c1a967f96c13b8618c8948b92ae7e1e1cca4eb61e94b12400eb1b8d23ec7febda7c09f7eceaccefa9cc748d97a3f80423111c79f5e6c51305238830ca2567f6ac4e24e08a2a8aae40449c704d84bc6f049a825b5c50bb8745d3c68079d4bc4383176df31bf4552924d4333252eddc26fd9355cd339283865841cc3d09fd8f2dffb505c325be4a99e179eb1bfdfb24838dbceeb22b60c0246283e1122ecd9aea0ddacb7ed620e44d6b6f894292cd1af45bd647af8f8d3abc3b1c78c46b1f5e0b91a9a2f2d84fa7e560fa5bd87320108b4691659c00fc20c63002d0efe5271d69df0005cb7cd84a5382c428f69030e52ab15840fff477f80a23add601444b614c041a37bdeb10eb5d8ee85fd2c5714b1bfd11a3c6bbb9dbb6e441759a9527e22d1ba30fa1d5f2fcedf82fc27006a3c0711ad1140816ba6cfeaf091ff486b24e1d495cd3fcb650541b67e979a6c954fb96de9112e7e3981953497aacd13cf86c80fdcca608f9833518cb0ce15c5ab64a9cc2c61160b8a015d279b1e6aae2dbc47486865c6c0d9007685206605633e23417bb6383113315b515544e8f2a56cf374617794f6ca1e56bed448f860fb6f9b0c444fe416f70d7fa56a3c2d3d6a1766edefe20f57da49a9d2ef59620a3c133eb070c1e1332a48b489500641881cbd7a0d681e0388385354b5a2af98c0783ab46b2706f57305560da24c663e15423c401f42c025ae6d3fa24686cdf2dd042694d12f7554ed2d321520a463f1cd4e86f4f6ed752d7e5ad4674107dbf7ec3dfe2d94bfb5d45a2a645dafad8072f07f362b4e96651da4250a5c5c7b0f1f72b8c55b6e380d33fb57f4e543318593717671a212e789ea6519ad2ca52be94cbbfab960e72fe9033c754046f1e5ca6fa8921d39270f4b5fe7d2e4abae2d8808423c65b30137962b60b566ea08e19c9b240547fd64c10159352a1f664b82aa488a91fec9456a156628d19d75299752db8ad445817a89d4ed31f691e6396714daeb48ee96095becd41690b24d532dba03198c38dd6d3e86a45a704dd67d9f1eaee2bb76f8aa61b799fadf364c922222772d8fda117e4168722763665225e511d4e99ba677cfc426189f4b464020617d97bb7129e24728958cb40257bf3007c5379f2b5ef3092677902c41c25a01861803b29d0377c6c2be226a91b60ebdd1940915ff1f384c1257cbbc733a3b476553fc79b12d0e207b3aeaae7c408309871f00d055fcc1a7a48400c858038014f499356506423cc0ae1f0de35e78fe1f0dc723a4c5fa77911563e4633daa38931c0f26602cd04a3d578e0949508fca022fbd15c445f44285ce193e428030070d9cb7fe912c678173bc728c2ffdba25e149e6eb4db2f5848431e5c8f6c0e599fa6beb88a62876cbfb6b33adf87609aaa231d17883e7f79b70c3458c14aea66ba5d05c42222ae51cccb4693ef5b629d3f8a4bba89fdde758619c5f1f417db9c694fb15adab4a81ff069622d2b3faed264f4a5594844d2affcc80560cf9c5910a1ce3df0ae0db2ad680f60ef5bc1c4b428f7efeb155652ab1521a6146c2517da169466adfb603d9530e06f504df1aa1cbe68c1c7081e802a94a852cf520532e9d2f032dc7e67525c25b805dc17174f7f94c776fbad2f60d0adca40ab2e108bae20c8a431bde9a887090fefd8c4548c896bf3ada702af8c4b93051d7ab6cdfb3a8f7808393fc376c87e9077934ad8e702d23d10c5ab7e7801e3b3e8b2c0e876fa3f7529af9241937f1f62101a756e94c8df576e590e8eac401edaa351475906f679bcd2886a4f81d0d2a757553dbb3d61b67cde31dc82f121417354606c19bb3f96f74c92f624fce379eb3e9418139dd90027de0b832e1de637baa8095582a56054c1b6aa7c1fc14aaf2a64b8bc69ae28a9267d77f6346a97e63cee0cfd39b9190623ab8b4b01a678d68a435c76d3fb61cd1dfd5ebd9e7a48fdd9ebbe7b7397755875556ebcb3aac81c5fd2e3a07b9beab989fb7e40263a8a530c0a1b78421605e4ffe2ce98b1595fc245e38c3821db5a1d3485bb47156115ae98d1c5df025cf30ffbaf998efed23a0badffa7e7edfb85c8c663ca9a1c0de8750c77b8db18da4ac1e0581fc3f940cc5b3d3898207ca65d6ed14519bc5f0f0b0d397629ba1a613e1768245b64d5b4df9b33a9ef2b43c98df6eee581ff0660ef83cce6abab431817c08a2753f0e5f7e9a808e9c66f806cf07d2958fb0923973a70b9fdd7b57d66f1cfee62db5fab80490028b1c4548ee50e86b159d5cab5f82014ce317bba3222442be321c8754eb7b5f1b1da1c8e4e1cf44c18135e9b8a09a9671f5226959da54a7c1a14fb5929288987d1040f62567d63d5662bfb79b8df46300aceff5083732ceb79bab670d81a991337e0827f640820c2acd3f0e7a286023a6c087cfbb8cf4a088807ee9a99cf617a430dc9b840ee8e118b29dbfaefb995b9ad2853b5ca4259d79c8857cd0603af4532c95601332a9af56e609b97a7c10f235333ae530700af6d2338efb3823f785a9d20087d41ad8244f10f859fbe08e8ea3f9b1b75d22101979fed2f65861f4038d024367e1de2ca9d957f85af3e9457678e99665dbc5f08d0c9255ae6252c39c4fcbc034423de7f716c4ba2393a5afbfd88506a4b6bb98605f1edc0cd8479d9ca3cfe80fee5669821bb59c3cfb3820824cad101b7f4fd7de7440dcb81ba85f35123eb5107d394abab8d827051633ec4b99480f23dcc6be3f20dbbd14d284307cfc545b9767f5f8baa1d7a1225645c1fdf8d97614580a0a5b728a3c0a4d9c962ff994c34131f4c965caf65dda541b8d64dab1acc6afe8da4624576f3eaf049a2e9bfa3073ef5364d8c2fe1b40a48bd2261c0705b9061d93475f3cb74285ea406eb80fe81ff12dddcc12f68283b2478c9ce17605ed0803059dc9a6cbb0e5b3d6b2d7af0caa672c23841dac829c0e3e62f1eaeebac6f7d4f8c26649d976aa1cca6583750f6bd12c5e75497de5e2864094c69ebf1c55455dc5db521a97e271ad5b1ca6c06927270d68513bd343b84dd2c6c8daef536c81c7d14ca036a691316497d873f3f25911fdbfaf767f0f14c31dc7cf32c35b1c88f5b882bc7caa3048d26168899ec27601785d90cb9aa03cd5eb810242d1451cd40331b9d89c085fd5d5ec532e0fa49b0d264a824ae9625ca774a028d7e80e2d49a48f283bfafd211f5828f7eb00b50b21e587073408e5cf89ea1bf1600ce293773445f514e1def73a57f30480d975d33b1b4d53415db6dc3f22691b55d067eba0450850f6a3efab580aa07e8635689da2f7587dba8e0b686b2844ae3259d32ecbf8bc04d60f7651d0e4847f049d4fade6496f3d2c1314cc48b1c2128a5c881dfc4ef79463a3234e294b899c99508cc3b55c6065ced0a490ae4e4580d6194f9af12c03c406a75627a4a5b03ca0e1cbf4bb3080eb6f892c6a86f38ce028fead398a48e0fa088ba152b38787d9850cb234b1e317f31285b2178e4dc0ee55f495e16b8d084d6f1937ea1f7f941d2a41a2608668cfc79e3eb98481232ae2e4ba8b7f9aa9934a30a440f2ef0a7acf4a914ce99a4e4e12b7f30858e8c2dadf900f06fa443da378f57ab4f44fd0cf60dc08c027893abc3b2e32abb2d924774e97a429d4141c12a3a465ab8db29ebd9c374d4aecdc795407d6005bf69ba8b02cd7000dc67411ecec0e96ec37e449518d77fa1330fe726f4833924372b47258bade9270f1a549c8fcf077061347c1aec1700e76e926d1f88d8c75bcdfbbc6c8b6f434fc1d172a8747d9762f212e398e09559e3312d89ebe39dbca08926bcf4b25a5d6cfe1c48159b86c8a93f4264f23a8965b7ab1d4cd16414b886999cede84bf00e318bf14150367dc799997f0040e49ae568218b68c696fe4ec02eb27cb5e155a51e5ee79e6cfb442cc583412e5877434bc84c0491ab03d4c520e181c238a5b43f0a4b23511724bbbcbb74d6f533a21ec0671f79fa8811a36fcd035ae34753ac9847743b0718a086c586d7f5e556c12362e076d5af4e765156bbfab0723ddd66a64431a6935b8fd98572640e5fd1d9bf7998fd9e2737fdf2c05531e5add5406a235867319717c86945b043b6236625a01aaf3a4488820d17597af8f2ffddc486295017a9cb598df3197b2db4a2901b5a1a687e815dcee285c7549aeb959296b575c93fdcff1bfc00dd654b14a0dabc4fb2e4cb1fd3500cb6c3413728b1305342e95630d5bd0669a26011c3e85c79c85a2e0b26d3e46effc208738ae804085f7e8020d156094120ddd2053daa122c5f9ffa80bd96f104c6239651a8be9948733c59388f96b551ab4efa83e8a58bf7e05b6edd2342603c016f67eca4782cb59b5415161d5ef9fa4627df2891ca747ad4cfec9f96ec97afc80ba0db50dffb4dddad7004e489e75088f92fd30f82fba3c07b872d94a059ad2e4d8f61c54d432e430cc3777886956a40a826c90eea21edc0159a9132f13850ed1025e2bb8df58ca5dcc678b1ebd8727bf559a66428b97179aa4db2b86616458d5172c2b0e1c005a9fcbf279467c90ecb6abd65ca8bf1934426360c3400d0c1c0a2c8cc276b45ff8cd05f19a96665b385a9cdc9a659c29639bf52e93f4fbf475490355ce82e10f155b3e889c0b718601628866f5c5ea1ea5199c26344444ac8d3bf10275305fbc3f9189b2310e7a29b088abe3ec1ca87c64ad5aa6aaceccebba920a116a11e6176dd98933e0b09ce5bd40d547f88d1445f546e6643c270e252f83715b6d978b0414ef3d4abaffb68fd8c1705feb267face67c5b8a4e

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.