WordPress 3.0 introduced the ability for developers to register their own custom post types, enabling the software to be used more easily as a CMS. Custom post types ushered in a new era that allowed plugin developers to create and organize content in a more modular way.
If you’ve ever tried to explain the concept of custom post types to someone, you may have found that they are more easily understood as custom content types. One thing that makes them confusing is the fact that are usually found floating around in the admin as top level menu items. Custom post types often have no context, which makes it difficult to know how they will appear on the frontend of your site.
The Hierarchy plugin aims to solve this problem by moving custom post type admin menus into your pages list. Ordinarily, CPTs have their own menu items and the page menu structure doesn’t accurately reflect where the content is located, as shown in the example below.
Custom post types are often used to power various sections of a website. Hierarchy works to improve the content editing workflow by intelligently including custom post type admin links within the page structure. In place of the Pages menu in the admin you’ll see a new Content menu, with custom post types, such as locations, people, and knowledgebase, added under their corresponding pages.
Version 1.0 of the plugin includes Dashicons support and a button to add a new page. Each content type is displayed with contextual links within the hierarchical view of content. You can hover over an entry to display the edit, view, and taxonomy links.
Hierarchy also includes a settings page that allows you to designate which custom post types will be included in the hierarchy display, as well as the ability to disable new entries and set the menu order. You can also elect to hide CPTs from the admin menu so that they only show up within the Hierarchy structure.
When WordPress is used primarily as a CMS, pages often become the backbone for organizing the site’s content. This plugin addresses the lack of hierarchical structure in the admin. Jonathan Christopher, founder of SearchWP, wrote Hierarchy two years ago and has found it to be indispensable when creating websites for clients. He released version 1.0 of the plugin this week, which is essentially a complete rewrite of the previous version. If you’re looking to simplify CPT admin menus and streamline editing, check out Hierarchy on WordPress.org.