Blog Post

ArchivesPress 2.0

Short after the first plugin version is released, brand new 2.0 version is already here, bringing block editor (Gutenberg) blocks for each of the 3 supported archives indexes and many other improvements and changes.

I have not planned to work on blocks for this plugin so soon after the first version was released, or I would delay the release until the blocks were ready. But, I have spent some time learning about converting shortcodes to blocks, and here we are. You can read more about my learning process in my personal blog.

So, here is the example of the blocks added to the block editor, with the sidebar showing settings for the dates index block.

ArchivesPress blocks with settings

All 3 blocks use exactly the same code as shortcodes, via server-side rendering, and with a full array of shortcodes attributes converted into block settings available through the sidebar. This makes blocks easy to configure and use, without the need to learn about shortcode attributes.

Blocks have own category

All three blocks are added to their own ArchivesPress category, and they are easy to find among all the blocks in the block editor. They are used as any other block. But, the plugin requires WordPress 5.3 or newer to work, because it relies on the server-side rendering component that is added into WordPress 5.3.

Other changes include improvements to the rendering process, new options for every block, with major layout changes for the Dates Index, including the display of posts badge for day archives.


Index page on Millan.dev

Index pages on Dev4Press.com

To get more information about the plugin, access the knowledge base for shortcodes documentation and examples, check out the links here. The plugin is also available on GitHub.

Let me know what do you think of new plugin and the blocks support it adds, what more features you would like to see in the future updates.

To see the list of all the changes in this version, please check out the changelog. If you find any issues with the new version, please, report them in the support forums.

Please wait...
ArchivesPress
Easy archives index based website navigation

Display indexes based on the dates (years, months, and days archives), authors, and taxonomy terms for quick navigation and filtering of posts.

About the author

Milan Petrovic
Milan Petrovic

CEO and Lead developer of Dev4Press Web Development company, working with WordPress since 2008, first as a freelancer, later founding own development company. Author of more than 250 plugins and more than 20 themes.

Subscribe to Dev4Press Newsletter

Get the latest announcements, release digests, promotions and exclusive discounts, and general Dev4Press-related news straight into your mailbox.


This form collects your email (optionally your name) for the purpose of sending you newsletters. Check out our Privacy Policy for more information on how we store and manage your data. We will not send you any spam. Newsletters are sent 2 to 4 times every month.

Leave a Comment

GeneratePress - The perfect lightweight theme for your next project
WP Rocket - Make WordPress Load Fast in a Few Clicks
1