Post 2 Posts current UI in the block editor

The Post 2 Posts admin UI is workable in the block editor despite development being stopped years ago. Block editor components provide a clear road ahead for UI improvements.

Published in

Two screenshots showing the Posts 2 Posts admin box in the settings sidebar and content area of block editor

Installing the Posts 2 Posts plugin on the latest version of WordPress—5.3.2 at the time of writing—the admin UI functions as expected, and we can create the links between posts and users. Given the notice on the plugin’s WordPress.org page, I was pleasantly surprised to realise this.

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

https://wordpress.org/plugins/posts-to-posts/

This is a testament to the scribu the plugin author, for creating a well-developed plugin, the team of core contributors who developed the block editor in a way inclusive of existing plugins, and to WordPress’ overall commitment to backward compatibility.

Options pages and list tables are unchanged, while the post edit UI looks dated

Let’s take a look at what the state of Post 2 Posts’ admin UI in WordPress 5. Given the WordPress 5.x updates have been focused on the post edit screen and the block editor, those are where we’ll be looking today. The options pages and list table the plugin adds all look and behave as they did it WordPress 4.x

Below is a screenshot of the default admin box display in the settings sidebar. This appears in the expected location and the custom title attributes provided as part of the connection registration flow through to the setting panel. Nice👌.

Post 2 Posts metabox displaying in the settings sidebar with custom panel title.

Posts 2 Posts also allows the admin metabox to be located below the block editor. Let’s take a look.

The Posts 2 Posts admin box displaying below the block editor in metabox location.

All things considered, this is a workable state.

Looking further ahead, I see the styling of the UI controls as something we can improve. I’m looking to rebuild the Posts 2 Posts metaboxes to aline with the block editor developer conventions, design best practices, and reuse existing core components where possible.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *