Is there any way on Confluence Cloud to display a list of the page's labels somewhere on the page?
I know the default template shows labels at the bottom of the page, but I would like to be able to place them where they are needed.
Additionally I've seen some suggestions of using a User Macro, but these are not available in Confluence Cloud.
Ideally the Labels List Macro would let you specify a specific page: https://confluence.atlassian.com/doc/labels-list-macro-180846844.html
Well, this isn't ideal. And by that I mean jamming a fork in your arm might be more enjoyable. But, I found a way. : )
First put a style macro somewhere on your page and put this in it.
.content-by-label .details a[data-linked-resource-type=page], .content-by-label .icon.aui-icon {display: none;} .content-by-label .details {padding-left: 0 !important;}
Then you can put Content by Label macros anywhere on your page that you want the label list to appear. Set up the Content by Label macros to look like this ...
For Label put in a label you know is on the page. Then a a title and space filter. For With title put in the page name. For In space put in the space your page is in.
Make sure Excerpt Display is set to none.
In Edit mode your page will look like this.
In View mode this is what you will see.
Thanks, it works at least! Here are a few notes for anyone else that needs to do this that I found out:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.