Native linking to previous and next post or page using CMS

Actually there is a slightly simpler way to make next or previous actions then sabanna suggests.
In my case I reused the reference field linking to itself, creating kind of a loop.

  1. First you need to create a reference field in the same collection. Name it Next.
  2. Link the reference to it self.

  1. Save the collection.
  2. Go to the Editor and create a button, name it “Next”. In the Link settings make sure to click on the “A collection detail page” and to pick from the dropdown “references > next”.

  1. Go back to collections and in the items list and pick one item.
  2. In the “Next” field select the item that should appear next as the “Next” button triggered. (Repeat for each item)

Same way can be created previous button.

19 Likes