Sibling Tabs User Macro for Atlassian Confluence

The sibling tabs user macro for Confluence gives a simple way to create a horizontal tabbed navigation system between sibling pages in a Confluence space.

Here’s a video demo:

Here’s the code and how to apply it to your Confluence system:

In Confluence Admin | User Macros, create a new user macro and paste in:

Simply add the Sibling Tabs user macro whenever you want horizontal tabs — don’t forget to att the macro to each of the pages 😉


The AppFusions team provides tough-problem expert-level product development and consulting servicesOur portfolio of solutions is a prime example of our expertise, aside from much other community involvement. Nonetheless, we are only at the beginning of our journey.

Please reach out any time. We know we can help you – it is our relentless obsession and passion!

7 thoughts on “Sibling Tabs User Macro for Atlassian Confluence”

  1. Hi David,
    Thanks a lot for your macro.
    Pretty simple but very efficience.

    Is there a way to change the order of page (number, date or alphabetical will be nice ?)
    Thanks again.


    1. Hi Michael, I’ve updated the code – it now limits the number of tabs and the order of the tabs is not consistent with the natural ordering within Confluence.

      To remove the limit on tabs, just remove the lines ending in “## remove this line to display all siblings “

  2. Hi David again 😉
    I was wondering if by curiosity it was possible to do the same thing but dealing with the children of the page where the macro reside.
    Your macro list the children of the parent page. What about listing the chidlren of the actual page.
    The deal here is just to list the children in the same way as the sibling link. It will just be used to link to the child.

    Thanks for your help.

  3. When using the Sibling macro, it works great in 5.2 . Now that I upgraded to 5.5 the macro effects my left side tool bar. The information that displayed on the left to bar before, no longer shows up. If I take the Sibling macro out, the information on the left tool bar comes back. Is there a fix for this?

What do you think? Please share...