Archive Mapping and Post Selector Gutenberg Block

Description

A WordPress plugin for mapping post type archives to pages. Plays well with Gutenberg and Gutenberg is highly recommended for use with this plugin.

Ensure your post types have has_archive set to true.

The plugin has a new Gutenberg block based on Atomic Blocks that will allow you to select which posts to display on your archive page. It even supports pagination.

See below for an overview of how Post Type Archive Mapping works:

  • Select a Public page to use as your post type archive page.
  • View the archive and you will see the page content instead of the archive content.
  • Use page templates on your pages for flexibility.
  • Custom Gutenberg block for showing your posts.

Gutenberg Block

This 5-minute video covers how the Gutenberg block works.

Screenshots

  • Editing a page using Gutenberg
  • The resulting archive page
  • Settings->Reading option

Installation

  1. Just unzip and upload the “post-type-archive-mapping” folder to your ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Create a custom post type that has an archive
  4. Create a page with a custom template
  5. Go to Settings->Reading and assign the page to the custom post type archive
  6. Go to the post type archive and observe the page content is now the archive

FAQ

I don’t see the post types. What’s wrong?

Make sure your post type has has_archive set to true.

Can you do posts instead of pages?

No, this plugin only works with pages.

Contributors & Developers

“Archive Mapping and Post Selector Gutenberg Block” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.0.1

  • Released 2019-01-17
  • Fixing bug where arguments weren’t an array when switching reading types in Settings->Reading.

2.0.0

  • Released 2019-01-06
  • Numerous enhancements to the Gutenberg block including showing taxonomies, setting the image type (Avatar vs Regular), setting where the featured image is displayed, selecting the image size, and much more.

1.0.1

  • Released 2018-11-07
  • WordPress 5.0 compatibility

1.0.0

  • Released 2018-09-24
  • Initial release.