Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Cleaned up grammar and spelling. Removed version specific.
Source Link
Howdy_McGee
  • 20.8k
  • 24
  • 91
  • 175

register_post_type() dupliicates posts item Duplicate "Pages" Item in wp menuAdmin Menu

in 4.4 wp version have problem, thatI'm registering the following post type:

register_post_type( 'post', array(
    'hierarchical' => true,
    'public'       => true
) );

Now I have duplicate post"Pages" menu items in wp admin menu.. also adds wrong name.WordPress Admin Menu. itIt should be not Pages"Pages" but Posts inrather "Posts".

In older versions of WordPress ( < 4.4 ) everything was alright.. any Any suggestions to do the same?

P.S. most Most important is to make my posts hierarchical no matters how to do it.. if know other solution, please share :)

enter image description hereDuplicate "Pages" Image

register_post_type() dupliicates posts item in wp menu

in 4.4 wp version have problem, that

register_post_type('post', array(
    'hierarchical' => true,
    'public' => true
));

have duplicate post menu items in wp admin menu.. also adds wrong name.. it should be not Pages but Posts in older versions everything was alright.. any suggestions to do the same?

P.S. most important is to make my posts hierarchical no matters how to do it.. if know other solution, please share :)

enter image description here

Duplicate "Pages" Item in Admin Menu

I'm registering the following post type:

register_post_type( 'post', array(
    'hierarchical' => true,
    'public'       => true
) );

Now I have duplicate "Pages" menu items in WordPress Admin Menu. It should be not "Pages" but rather "Posts".

In older versions of WordPress ( < 4.4 ) everything was alright. Any suggestions to do the same? Most important is to make my posts hierarchical.

Duplicate "Pages" Image

Source Link

register_post_type() dupliicates posts item in wp menu

in 4.4 wp version have problem, that

register_post_type('post', array(
    'hierarchical' => true,
    'public' => true
));

have duplicate post menu items in wp admin menu.. also adds wrong name.. it should be not Pages but Posts in older versions everything was alright.. any suggestions to do the same?

P.S. most important is to make my posts hierarchical no matters how to do it.. if know other solution, please share :)

enter image description here