Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor fireproofsocks

    (@fireproofsocks)

    This isn’t so much of a CCTM question as it is a question of how to use WP’s (somewhat primitive and wonky) menu registration functions. You can override the CCTM’s admin menu by implementing your own version of the menu configuration. See https://code.google.com/p/wordpress-custom-content-type-manager/wiki/Config_admin_menu

    In addition, you can edit each content-type’s definition and reference a parent page where it should appear.

    Thread Starter Dirty Bill

    (@dirty-bill)

    Was just a feature suggestion.

    Plugin Contributor fireproofsocks

    (@fireproofsocks)

    Gotcha: but I think you can already do this using the existing functionality. Due to how WP registers menu items, it’d be hard to automate this via a GUI. Just add the menu page in your post-type definition (see https://www.screencast.com/t/aw4iyvai)

    Thread Starter Dirty Bill

    (@dirty-bill)

    bummer, the screencast link 404’s.

    Plugin Contributor fireproofsocks

    (@fireproofsocks)

    Actually, the screenshot should show the “Show In Menus” set to “Custom”…

    Plugin Contributor fireproofsocks

    (@fireproofsocks)

    Sorry for the 404… no idea what screencast is doing.

    Just look in your post-type definition: there’s a field there specifically for the parent menu. See the docs for register_post_type() — it explains how that field is used.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Top Level Admin Menu’ is closed to new replies.