# Create a previous page button

**URL:** <https://forums.realmacsoftware.com/t/create-a-previous-page-button/55323>\
**Category:** Elements CMS\
**Created:** [March 25, 2026, 6:19am UTC](https://forums.realmacsoftware.com/t/create-a-previous-page-button/55323 "2026-03-25T06:19:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![PouwelW](https://avatars.discourse-cdn.com/v4/letter/p/f19dbf/32.png) [@PouwelW](https://forums.realmacsoftware.com/u/PouwelW)\
**Post date:** [March 25, 2026, 6:19am UTC](https://forums.realmacsoftware.com/t/create-a-previous-page-button/55323/1 "2026-03-25T06:19:12Z")

</div>

I want to provide the readers of one of my blog posts with an easy possibility to navigate back to the blog page they started from. Of course they can use the previous button of the browser, but I want to create some kind of previous button (preferably only code that I can connect to an svg) at the bottom of the blog post. I’m not a developer and don’t know how to write code myself. Can anyone help me?

Thanks, Pouwel

---

<div class="post-metadata">

**Author:** ![MichaelDroste](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/michaeldroste/32/37212_2.png) [@MichaelDroste](https://forums.realmacsoftware.com/u/MichaelDroste)\
**Post date:** [March 25, 2026, 6:58am UTC](https://forums.realmacsoftware.com/t/create-a-previous-page-button/55323/2 "2026-03-25T06:58:59Z")

</div>

From what i understand- it is not possible (yet)

I wanted three buttons

- Previous
- Return Home
- Next

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [March 25, 2026, 8:04am UTC](https://forums.realmacsoftware.com/t/create-a-previous-page-button/55323/3 "2026-03-25T08:04:30Z")

</div>

You can easily create a button and link it back to your main blog page.

 ![CleanShot 2026-03-25 at 8 .00.03@2x](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/d/a/dae46eba689385b1bb2013cc92676a2b42caf3f0.png)

If you want a button (or SVG) that takes them back to any previous page they were on, you can add this as a Plain Text link `javascript:history.back()`. Like this:

 ![CleanShot 2026-03-25 at 8 .03.07@2x](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/a/6/a6247e78775025776762b18e6274877ad16a043c.jpeg)

Hope that helps.

---

<div class="post-metadata">

**Author:** ![PouwelW](https://avatars.discourse-cdn.com/v4/letter/p/f19dbf/32.png) [@PouwelW](https://forums.realmacsoftware.com/u/PouwelW)\
**Post date:** [March 25, 2026, 10:10am UTC](https://forums.realmacsoftware.com/t/create-a-previous-page-button/55323/4 "2026-03-25T10:10:15Z")

</div>

Yes, that works. Thanks. Linking back to the main blog page is what I did already. But that’s not satisfying for a reader who is for example on blog page 5. But the javascript trick solved my problem.

---

<div class="post-metadata">

**Author:** ![Pegasus](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/pegasus/32/25035_2.png) [@Pegasus](https://forums.realmacsoftware.com/u/Pegasus)\
**Post date:** [March 25, 2026, 10:15am UTC](https://forums.realmacsoftware.com/t/create-a-previous-page-button/55323/5 "2026-03-25T10:15:09Z")

</div>

You can also define (prev / next) in the Markdown frontmatter if you want — and then simply place the appropriate syntax in the blog.

 ![Bildschirmfoto 2026-03-25 um 11.12.47](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/f/1/f1d9996781ae2a68211f66ccc056f35f484c09af.png)

 ![Bildschirmfoto 2026-03-25 um 12.32.43](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/7/e/7e12a84a3fc504c629004e73294fb24210d00dfa.png)

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [March 25, 2026, 11:31am UTC](https://forums.realmacsoftware.com/t/create-a-previous-page-button/55323/6 "2026-03-25T11:31:10Z")

</div>

Oh, that’s a pretty nifty idea if you have specific articles you want to suggest to readers, I like it 🥰
