Confluence 5.4 has reached end of life
Check out the [latest version] of the documentation
The Blog Posts macro allows you to display blog posts on a Confluence page. Clicking on a title takes you to the blog post.
Using the Blog Posts Macro
To add the Blog Posts macro to a page:
- In the Confluence editor, choose Insert > Other Macros.
- Find and select the required macro.
Speeding up macro entry with autocomplete:
To edit an existing macro: Click the macro placeholder and choose Edit. A macro dialog window will open, where you can edit the parameters of the macro.
Parameters
Parameters are options that you can set to control the content or format of the macro output. Where the parameter name used in Confluence storage format or wikimarkup is different to the label used in the macro browser, it will be listed below in brackets (example
).
Parameter | Default | Description |
---|---|---|
Content Type to Display | titles | Available values:
|
Time Frame | no limit | Specify how far back in time Confluence should look for the blog posts to be displayed.
|
Restrict to these Labels | 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 | None | Filter the results by author. The macro will display only the blog posts which are written by the author(s) you specify here. jsmith,jbrown To include content from one user, but exclude from another user: |
Restrict to these Spaces | @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 |
Maximum Number of Blog Posts | 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 | 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 | 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. |
Code examples
See: