A WordPress plugin for displaying posts and terms (e.g., categories) using a Gutenberg block. Works well with posts, pages, custom post types, taxonomies, and terms.
Bonus: archive mapping.
Note: (2021-07-28) The blocks are deprecated as there are better custom query items and the new Query block in WordPress 5.8. Thank you for trying us out.
- Map your post type archives to a page for customization of the post type archive page.
- Map your category archives to a page for customization of the term archive page.
- Map your 404 template to a page and easily customize your 404 page.
View Documentation and Overview
The plugin currently has three blocks:
- Just unzip and upload the "post-type-archive-mapping" folder to your '/wp-content/plugins/' directory
- Activate the plugin through the 'Plugins' menu in WordPress
Post Type Archive Mapping
- Create a custom post type that has an archive
- Create a page with a custom template. Use the Gutenberg block to show off posts in that Custom Post Type.
- Go to Settings->Reading and assign the page to the custom post type archive
- Go to the post type archive and observe the page content is now the archive
Term Archive Mapping
- Create a public page to use as your term archive.
- Visit the edit term page and select the page.
- View the term and you will see your selected page.
- Use Gutenberg on your public page to customize the archive.
404 Template Mapping
- Visit Settings->Reading and map your 404 template to a page.
- Customize the new 404 page.
- Navigate to a broken URL to preview the 404 page.