Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Exclude current page when using a content by label macro in Confluence Cloud

How can I exclude the current page in a 'Content by Label' macro in Confluence Cloud? I'm having a hard time finding information about that.

2 answers

Hi @Spencer Holt ,

If you have the Table Filter and Charts for Confluence app installed for your Confluence instance, I can suggest using the following workaround:

Fri 2-1.png

  • Set the reversed filter for the Title column (click on the "=" to exclude page titles). For example, here we don't show "The Table Filter Macro (new)" page. You may exclude your current page and any pages you wish

Fri 2-2.png

  • You may also filter other columns as well to get more precise results

Fri 2-3.png

Hope this will help your case.

Right now I doubt that my organization will purchase a new plugin/app, but thank you for the information.

Hello.

You can create an exclusion label and add it to the pages you want to exclude. For example "donotshow" and add it to the filter as "-donotshow" (with "-" before the label). In this case, the filter will exclude to all pages with the fist label that do not have the second label.

Documentation https://support.atlassian.com/confluence-cloud/docs/insert-the-content-by-label-macro/#ContentbyLabelMacro-AND-OR-andNOToperators 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,395 views 7 29
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you