adding a label to an expand macro

I have a page where I have expandable links. Under each link I'd like to create a label or tag so that when someone searches that tag, the link will come up under the search results. Any ideas?

1 answer

0 vote

Hi Naveen,

Could you please give an example for your scenario? And How many links/tags would for your example have on a page? Is it only important to have the link directly next to the tag in the search results like this example:

tag example.png

Just brainstorming a bit: I would suggest for the search to use for example page labels and combine that with a similar written tag next to your link within the excerpt macro (and then just hide the excerpt content on the page). In my example it would look like this with "platform" page label and "platform" written in the excerpt macro after searching for the term "platform". I would best desribe this as a quick win :)

tag example 2.png


I'm just thinking that using the available feature of labels in Confluence would be most benefical for each user in terms of searching for content.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

373 views 20 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you