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 votes

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
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,095 views 56 8
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