Linux 软件免费装
Banner图

Hierarchy

开发者 jchristopher
更新时间 2019年9月24日 00:54
PHP版本: 3.8 及以上
WordPress版本: 5.2.3
版权: GPLv2 or later
版权网址: 版权信息

标签

pages custom post types url cpt hierarchy routing

下载

0.1 0.3 0.4 0.5 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.5.1

详情介绍:

NOTE: If you're looking for something more user-focused, take a look at OrganizeWP which is complete rethinking of Hierarchy! Custom Post Types (sometimes) need context, Hierarchy allows you to rework your content management workflow by essentially moving Custom Post Type admin menus into your Pages list. What this does is mimic the navigation you've set up on your site by placing Custom Post Type edit links amongst your Pages where they belong. » Check out the screenshots to see Hierarchy in action Hierarchy removes unnecessary entries from the Admin Menu and instead injects theme where appropriate amongst your Pages, grouping everything under a single 'Content' Admin Menu entry. Custom Post Types NEED context Custom Post Types are great, but the editing workflow can be improved. Adding a Custom Post Type likely results in another WordPress admin sidebar menu, abstracting the management of that content from the main organization of your site, Pages. Hierarchy intelligently extends your Pages menu by including your Custom Post Type admin links within the Page structure, allowing for a much more natural workflow when managing your content. 比如 Chances are you've customized your Front page displays setting to display a static page instead of your latest blog posts. Now you've got a sidebar link to manage your Posts and a WordPress Page called "Blog" that sites in your list of Pages doing absolutely nothing. Hierarchy remedies both problems by converting the "Blog" page link to be one that lists your Posts. It also hides the Posts sidebar entry (if you want it to). It's also likely that you're utilizing Custom Post Types to power sections of your website, but it's awkward to manage the content of an internal section of your website using the main WordPress admin sidebar links to your Custom Post Type. Hierarchy will allow you to hide those sidebar links and instead nest them amongst your Pages, providing contextual links to manage the content of your Custom Post Types. 更多信息 If you'd like a lot more information on the implementation and workflow changes, check out the screenshots and please see the introduction and the follow-up for 1.0.

安装:

  1. Download the plugin and extract the files
  2. Upload hierarchy to your /wp-content/plugins/ directory
  3. 通过WordPress的的“Plugins”菜单激活插件

屏幕截图:

  • A typical WordPress site with multiple CPTs
  • Pages are set up to establish structure for the site, but editing CPTs is disjointed
  • Hierarchy integrates CPT edit links within your Pages and hides them from the Admin Menu
  • Hierarchy settings
  • Contextual links are included with each row in Hierarchy

常见问题:

How to I set up a Custom Post Type as a child?

This relationship is established by the rewrite parameter you used in your call to register_post_type() — it should use your desired parent as a base. For example: You have a WordPress page with the slug of about and you have a CPT for Team. Simply set the rewrite parameter for your Team CPT to be about/team and Hierarchy will include Team as a child of About.

更新日志:

1.0.5.1 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0 0.5 0.4 0.3 0.2 0.1