The archives block organizes your previously published posts by month. This can be handy for readers who want to browse your older content.
To add an archive, click on the
⊕ Block Inserter icon and select the “Archives” block.
Alternatively, you can start typing
/archives in a new paragraph block, then press enter.
To reveal the block toolbar, you can click on the block, and the toolbar will display. Each block comes with unique toolbar icons and specific user controls that allow you to manipulate the block right in the editor.
A few of the options are for the block’s alignment, “Right”, “Center”, and “Left”. Choosing the right or left will allow you to place another block alongside the archives block; moreover, selecting the “Center” will return the block to its default, taking up the full width of the post or page content.
Clicking on the ⚙ cog icon next to the publish button will toggle the visibility of this panel.
The archive settings allow you to choose whether to display the archives as a drop-down, rather than the default bulleted list. You also have the choice to show post counts.
- Display As Dropdown — Choose this option to display the archive in a drop-down menu rather than as a list. This option might be useful in case you want to save space or have lots of archive posts to display.
- Show Post Counts — If this option is chosen, the total number of available archived months will display next to the link. This option can be used with both the list and drop-down menu formats.
The advanced tab lets you add a CSS class to your block, allowing you to write custom CSS and apply styles to the block as you see fit.
Last updated: 3 months ago