Title: Hierarchy
Author: Jon Christopher
Published: <strong>Ṣẹrẹ 5, 2012</strong>
Last modified: Èrèlé  10, 2022

---

Ṣàwárí àwọn plugin

![](https://ps.w.org/hierarchy/assets/banner-772x250.png?rev=1029467)

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

![](https://ps.w.org/hierarchy/assets/icon-256x256.png?rev=1029463)

# Hierarchy

 Láti ọwọ́ [Jon Christopher](https://profiles.wordpress.org/jchristopher/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/hierarchy.1.0.5.1.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/hierarchy/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/hierarchy/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/hierarchy/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/hierarchy/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/hierarchy/)

## Àpèjúwe

**NOTE**: If youÌtumọ̀ Yorùbá: ’re looking for something more user-focused, take
a look at [OrganizeWP](https://organizewp.com/?utm_source=wordpressorg&utm_medium=link&utm_campaign=readme)
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Ìtumọ̀ Yorùbá:’
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**](https://wordpress.org/plugins/hierarchy/screenshots/)

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.

#### Examples

Chances are youÌtumọ̀ Yorùbá: ’ve customized your `Front page displays` setting 
to display a static page instead of your latest blog posts. Now youÌtumọ̀ Yorùbá:’
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Ìtumọ̀ Yorùbá: ’s also likely that youÌtumọ̀ Yorùbá: ’re utilizing Custom Post
Types to power sections of your website, but itÌtumọ̀ Yorùbá: ’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.

#### More information

If youÌtumọ̀ Yorùbá: ’d like a lot more information on the implementation and workflow
changes, [check out the screenshots](https://wordpress.org/plugins/hierarchy/screenshots/)
and please see [the introduction](https://mondaybynoon.com/introducing-hierarchy/)
and [the follow-up for 1.0](https://mondaybynoon.com/hierarchy-1-0-is-here/).

## Àwọn àwòrán ìbòjú

[⌊A typical WordPress site with multiple CPTs⌉⌊A typical WordPress site with multiple
CPTs⌉[

A typical WordPress site with multiple CPTs

[⌊Pages are set up to establish structure for the site, but editing CPTs is disjointed⌉⌊
Pages are set up to establish structure for the site, but editing CPTs is disjointed⌉[

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 integrates CPT edit links within your Pages and hides them
from the Admin Menu⌉[

Hierarchy integrates CPT edit links within your Pages and hides them from the Admin
Menu

[⌊Hierarchy settings⌉⌊Hierarchy settings⌉[

Hierarchy settings

[⌊Contextual links are included with each row in Hierarchy⌉⌊Contextual links are
included with each row in Hierarchy⌉[

Contextual links are included with each row in Hierarchy

## Ìgbéwọlẹ̀

 1. Download the plugin and extract the files
 2. Upload `hierarchy` to your `/wp-content/plugins/` directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

### 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.

## Àwọn àgbéyẹ̀wò

![](https://secure.gravatar.com/avatar/289bcbffd4d9404c929c68a9814f5206a7366fbf9fc02822f879ef7abff5309f?
s=60&d=retro&r=g)

### 󠀁[Works but undefined index notice](https://wordpress.org/support/topic/works-but-undefined-index-notice/)󠁿

 [WP Academic](https://profiles.wordpress.org/eastsidecode/) Ṣẹrẹ 17, 2020

If running PHP 7+, you can get an undefined index notice on line 408 of class-heirary.
php. A better way of defining $post_types_to_hide on line 408 would be to do the
following: /** * Just create an empty array */ $hideFromMenuFix = array(); if (isset(
$this->settings['hidden_from_admin_menu'])) { $post_types_to_hide = array_intersect(
$this->post_types, (array) $this->settings['hidden_from_admin_menu'] ); } else {//
if not set, use the blank array $post_types_to_hide = array_intersect( $this->post_types,(
array) $hideFromMenuFix ); } Hope this helps!

![](https://secure.gravatar.com/avatar/aba3ff4419fd7a0e77f398f51d9cbaa6144075fe9ff153f56012a58917d92ed6?
s=60&d=retro&r=g)

### 󠀁[menu items not restored after deactivating](https://wordpress.org/support/topic/menu-items-not-restored-after-deactivating/)󠁿

 [Nooriji](https://profiles.wordpress.org/nooriji/) Òkúdù 30, 2017 1 ìdáhùn

The Admin menu items (Pages, Posts, media) are not restored after deactivating the
plugin. This sucks!

![](https://secure.gravatar.com/avatar/1d442bc94c6f4198991d0886f34c9d6482710d5a15ad5e358ef802e2a41818be?
s=60&d=retro&r=g)

### 󠀁[Cool plugin](https://wordpress.org/support/topic/cool-plugin-40/)󠁿

 [Slava Abakumov](https://profiles.wordpress.org/slaffik/) Ọ̀wàrà 11, 2016

That cleans up things in your WordPress as CMS installation.

 [ Ka gbogbo àwọn àgbéyẹ̀wò 13 ](https://wordpress.org/support/plugin/hierarchy/reviews/)

## Àwọn Olùkópa & Olùgbéejáde

“Hierarchy” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí
plugin yìí.

Àwọn Olùkópa

 *   [ Jon Christopher ](https://profiles.wordpress.org/jchristopher/)

A ti túmọ̀ “Hierarchy” sí àwọn èdè agbègbè 2. Ọpẹ́lọpẹ́ fún [àwọn atúmọ̀ èdè](https://translate.wordpress.org/projects/wp-plugins/hierarchy/contributors)
fún àwọn ìkópa wọn.

[Túmọ̀ “Hierarchy” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/hierarchy)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/hierarchy/), ṣàyẹ̀wò [ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/hierarchy/),
tàbí ṣe àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/hierarchy/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/hierarchy/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 1.0.5.1

 * Fixes PHP Warning
 * Tested up to WordPress 5.2.3

#### 1.0.5

 * Tested up to WordPress 4.9

#### 1.0.4

 * Taxonomies are no longer contingent `public` being true
 * Updated WP_List_Table compat with WordPress 4.4
 * Added pt-BR translation, props brenoalvs

#### 1.0.3

 * Replaced ‘Add New Page’ button with a ‘Shortcuts’ button allowing for rapid access
   to post types and taxonomies
 * Capability checks before outputting links (clicking links without capabilities
   results in a permission denied screen)
 * New filter `hierarchy_settings_capability` to control who can see the Hierarchy
   settings
 * Improved l18n

#### 1.0.2

 * Fixed an issue where pagination wasnÌtumọ̀ Yorùbá: ’t displaying properly
 * Fixed an issue where standalone (e.g. not ‘child’) CPT entries were not properly
   output

#### 1.0.1

 * Fixed a false positive that would incorrectly output post type entries
 * Clean up .org repo (deploy script didnÌtumọ̀ Yorùbá: ’t remove legacy files)

#### 1.0

 * Complete refactor: reorganization, optimization, PHP Warning cleanup
 * Bumped minimum WordPress version support to 3.8
 * Use Dashicons where applicable
 * Allow ‘Prevent New’ for post types (prevent adding new entries)
 * New filters to customize Menu entry, Menu position, page title, and more

#### 0.5

 * Improved README, added banner image to help explain Hierarchy
 * Tested with WordPress 3.7

#### 0.4

 * You can now implement pagination on the main ‘Content’ page
 * Aded entry count when considering CPTs to better call attention to posts within
 * Cleaned up a PHP Warning

#### 0.3

 * Added a fix for CPTs not being nested properly in WordPress 3.4+

#### 0.2

 * Added a contextual CPT management link to the admin sidebar that displays only
   when editing an entry of that CPT
 * Added option to include CPT entries within the Hierarchy. Added option to omit
   a CPT from the Hierarchy entirely.
 * CPT with a rewrite slug that matches an existing Page will respect that relationship
   and be inserted as a child of that Page
 * Posts Page is now placed properly when a custom permalink front has been put 
   in place

#### 0.1

 * Initial release

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.0.5.1**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 5 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **100+**
 *  Ẹ̀yà WordPress ** 3.8 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **5.9.0**
 *  Àwọn èdè
 * [English (US)](https://wordpress.org/plugins/hierarchy/), [Spanish (Chile)](https://cl.wordpress.org/plugins/hierarchy/),
   àti [Spanish (Spain)](https://es.wordpress.org/plugins/hierarchy/).
 *  [Túmọ̀ sí èdè rẹ](https://translate.wordpress.org/projects/wp-plugins/hierarchy)
 * Àwọn àmì
 * [cpt](https://yor.wordpress.org/plugins/tags/cpt/)[custom post types](https://yor.wordpress.org/plugins/tags/custom-post-types/)
   [hierarchy](https://yor.wordpress.org/plugins/tags/hierarchy/)[pages](https://yor.wordpress.org/plugins/tags/pages/)
   [url](https://yor.wordpress.org/plugins/tags/url/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/hierarchy/advanced/)

## Àwọn ìbò

 4.7 lára àwọn ìràwọ̀ 5.

 *  [  12 5-star reviews     ](https://wordpress.org/support/plugin/hierarchy/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/hierarchy/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/hierarchy/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/hierarchy/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/hierarchy/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/hierarchy/reviews/#new-post)

[Wo gbogbo àwọn àgbéyẹ̀wò](https://wordpress.org/support/plugin/hierarchy/reviews/)

## Àwọn Olùkópa

 *   [ Jon Christopher ](https://profiles.wordpress.org/jchristopher/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/hierarchy/)