The archives block organizes your previously published posts by month. This can be handy for readers who want to browse your older content.

Adding block

To add an archive, click on the Block Inserter icon and select the “Archives” block.

add-archives-block
Inserting archives block

Alternatively, you can start typing /archives in a new paragraph block, then press enter.

Block interface

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.

archives-block-toolbar
Archives block interface toolbar

Alignments

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.

archives-block-sidebar-settings
The archives block settings in the sidebar

Archives settings

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.

archives-block-settings
Archives block display settings
  • 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.

Advanced

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.

advanced-custom-css-field
The advanced section lets you add a CSS class to your block

Last updated: 3 weeks ago

We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies ― Learn more

Accept