Set up Confluence Cloud
Get the high-level details you need to set up your Confluence Cloud site in order to meet your team's needs.
The Blog Posts macro allows you to display blog posts on a Confluence Cloud page. Clicking on a title takes you to the blog post.
To add the Blog Posts macro to a page:
When editing , select from the toolbar
Find and select the required macro
Speeding up macro entry with autocomplete:
In the new editor — Type / and the beginning of an element (tool or things in the insert menu) to see a list of suggestions.
In the legacy editor — Type { and the beginning of the macro name to see a list of suggested macros.
Details are in Keyboard shortcuts, markdown, and autocomplete
To edit an existing macro:
Select the macro placeholder and select Edit. A macro dialog window will open, where you can edit the parameters of the macro.
Parameters are options that you can set to control the content or format of the macro output.
If the parameter name used in Confluence Cloud storage format or wikimarkup is different than the label used when inserting macros using the browser or the slash command, it will be listed below in brackets (example).
Parameter | Required | Default | Description |
---|---|---|---|
Content Type to Display (content) | No | titles | Available values:
|
Time Frame | No | no limit | Specify how far back in time Confluence should look for the blog posts to be displayed.
|
Restrict to these Labels | No | None | Filter the results by label. The macro will display only the blog posts which are tagged with the label(s) you specify here.
|
Restrict to these Authors | No | None | Filter the results by author. The macro will display only the blog posts which are written by the author(s) you specify here. |
Restrict to these Spaces | No | @self, i.e. the space which contains the page on which the macro is coded | This parameter allows you to filter content by space. The macro will display only the pages which belong to the space(s) you specify here.
Special values:
When specifying a personal space, remember to use the tilde (~) sign in front of the username, such as ~jbloggs or ~jbloggs@example.com. |
Maximum Number of Blog Posts | No | 15 | Specify the maximum number of results to be displayed. Note that the results are sorted first, and then the maximum parameter is applied. |
Sort By | No | creation | Specify how the results should be sorted. If this parameter is not specified, the sort order defaults to descending order (newest first) based on the creation date.
|
Reverse Sort | No | false | Select to change the sort from descending to ascending order (oldest first). Use this parameter in conjunction with the Sort By parameter. This parameter is ignored if the Sort By parameter is not specified. In storage format and wikimarkup a value of true changes the sort order. |
Wiki markup is only supported in the legacy editor.
Wiki markup is useful when you need to add a macro outside the editor, for example as custom content in the sidebar, header or footer of a space.
Macro name: blog-posts
Macro body: None.
1
{blog-posts:content=titles|spaces=@self,ds|author=jsmith|time=4w|reverse=true|sort=creation|max=10|label=chocolate,cookies}
Was this helpful?