I would like to create a blog button on a page.
Also, I don't how to use the components on the following website: https://docs.atlassian.com/aui/latest/docs/buttons.html
Where I can enter the html code???
For Confluence users on cloud who cannot add custom macros, I have found a workaround.
If you use the "Blog Posts" macro with a query that returns no blog posts, Confuence will display generic copy and a "Create blog post" button that allows the user to create a new blog post.
To create a query that returns no blog post, you can restrict the blog posts to a label that exists (if you make up a label that no other page uses, you'll get an error) but is not used on any blog post entry.
I don't have persmissions to create user macros and the result of adding the "Blog Posts" macro with an unused label was too big, so I found a third solution: a web link.
Before you add it you have to know the spacekey for your Confluence space and this can be found by looking at the page source. In most browsers this can be opened by right clicking on a page inside your space and choose "View page source" or something similar. Then you just search for "spacekey" and will most likely find something like this:
Remember that spacekey (TSPM in the example above) and follow these steps:
This appears to no longer work? Seems so weird that I'm having to find some weird workaround to make a simple link to add a new blog post? To clarify, I'm on Confluence cloud. This link is important to create since the ability to add a blog post on the mobile site doesn't exist (Create just adds a generic page with no ability to choose a template)
It you have Confluence server, you could create a user macro for this.
Then you can add your macro to any page you want.
This is a what you can put in the 'template' field when creating the macro:
## @param space:title=Space|type=spacekey <a href="/pages/createblogpost.action?spaceKey=$paramspace" class="aui-button"><span>Create Blog Post</span></a>
Hello Community! Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...
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