Hot to add macros to a header, footer or sidebar?


I noticed that I can customize the sidebar, header and footer in Confluence 5.10.

I would like to add a livesearch macro in the header, but when I paste this, it is displayed as such:

<ac:structured-macro ac:macro-id="eeede5a3-a0bd-4a99-b7ca-5aa3f5e8043b" ac:name="livesearch" ac:schema-version="1">
<ac:parameter ac:name="spaceKey">
<ri:space ri:space-key="bqc"/>

 Any help with this?



1 answer

1 accepted

1 vote
Accepted answer

You should be able to get it to work by inputting it in the old wiki markup format:


The alignment might be off because the header is set to be center-aligned, but it should still work. 

I tried that with the Metadata 2 Plugin (, but the stuff is not rendering when I put for example this in the main.vmd file:



Do you have any ideas how to accomplish rendering stuff from the Metadata 2 Plugin in a Velocity file?

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 ...

783 views 33 5
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