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 Add Block button and select the Archive block. Alternatively, you can start typing
/archive in a new paragraph block, then press enter.
Every block comes with unique and block-specific controls that allow you to manipulate the block directly right in the editor. The archive block is pretty straightforward so it only has the alignment controls and more options control.
A block-specific toolbar will appear whenever you select the archive block. Three 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 archive block moreover picking center will return the block to its default, taking up the full width of the post or page content.
The archive settings allow you to choose whether to display the archives as a dropdown, rather than the default bulleted list. You also have the choice to show post counts.
Choose this option to display the archive in a dropdown 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.
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 dropdown menu formats.
In addition to the options found in the block’s toolbar, you may locate the block specific settings in the editor sidebar panel. Clicking on the cog icon next to the publish button will toggle the visibility of this panel.
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.