• Resolved cjbaeza

    (@cjbaeza)


    Hello there, first of all thank you for the awesome plugin,

    I need to give certain order to the post types, but the plugin won’t order it the way i’ve configured it.

    The first image is to show the actual menu order and the second image is to show the menu position for the “Proveedores” post type, it is 5 but i shows under the “media” post type.

    REF: http://imgur.com/a/by3EW

    Hope you can help me please, thank you in advance, bests.

    https://wordpress.org/plugins/custom-post-type-ui/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    It’s possible that the slots before the media item are already used up, as I don’t think there’s an infinite amount, despite how we see the same type of thing with matching values for action/fillter callback priorities.

    We don’t do anything special with the menu position value other than save it in our options and pass that numeral string value into the right parameter that corresponds with register_post_type, so there’s not much I can say to try and debug this.

    https://codex.wordpress.org/Function_Reference/register_post_type#menu_position

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Any changes with this one cjbaeza?

    Thread Starter cjbaeza

    (@cjbaeza)

    Hello Michael, sorry for the inactivity, i didn’t saw that you replied.

    The problem isn’t solved yet, i really don’t know what could be happening, because all my custom post types are position 5, and by code i hide the other menues, like this:

    function remove_menus(){
      remove_menu_page( 'index.php' );
      remove_menu_page( 'edit.php' );
      remove_menu_page( 'edit.php?post_type=page' );
      remove_menu_page( 'edit-comments.php' );
    }
    add_action( 'admin_menu', 'remove_menus' );

    I really don’t know what could be happening 🙁

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Can you use the “Debug info” tab under “Import/Export” area to send me your debug information? Should be a text input below the larger textarea that you can enter in an email address to, that will email the content above it to that person. Use michael @ webdevstudios. com. Curious if I can recreate the issue and provide some better direction.

    Offhand, if you’re putting them all at 5, that may be part of the issue.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Any renewed changes? 😀

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Menu order issue’ is closed to new replies.