Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Is there a way to insert the number of pages with a specific label in a page?

Samara Marques
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Oct 23, 2023

I'm using the macro "content by label" to list all pages with a label using the filters of this macro. But I also wish to display the total number of this pages.

Considering that I can't get more macros in the Confluence Cloud of my organization is there a way to that?

1 answer

0 votes
Clémentine Arce
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Dec 01, 2023

Hello Samara,


I do not think this is a native feature of Confluence.

However, if it becomes possible again for you to get a new macro in the Confluence Cloud of your organization, I would suggest the macro Metadata Matches from the add-on Comala Metadata. This macro can perform various functions based on the metadata of your pages, like labels.

In your case, you could follow the steps below and the example picture I provide you:

  1. Give a name to the value you want displayed on your page  (here, I called it "Example Community", but you could call it "Page Count")
  2. Choose the function the macro should perform based on labels from pages you want to count (here, I selected the sum function so it will count the number of pages containing a specific label)
  3. Specify the labels the function should add up (here, I created a label called "exampleCommunity" for the pages to count and there are three pages I created with this label)
  4. If you wish to further restrict the page count (for example if you wish to exclude certain pages with the label from the count), you can specify a Space Key, the root or specific pages. You could also choose specific content types to further restrict the count.


I hope this helps !

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events