WordPress.org

Ready to get started?Download WordPress

Forums

Custom Content Type Manager
Top Level Admin Menu (7 posts)

  1. Dirty Bill
    Member
    Posted 1 year ago #

    I'd like to be able to specify and or create a top level Admin that my custom types can belong to.

    My Custom Stuff
    - Custom Stuff Type (goes to listing)
    - Custom Stuff Event Type (goes to listing)

    http://wordpress.org/extend/plugins/custom-content-type-manager/

  2. fireproofsocks
    Member
    Plugin Author

    Posted 1 year ago #

    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 http://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.

  3. Dirty Bill
    Member
    Posted 1 year ago #

    Was just a feature suggestion.

  4. fireproofsocks
    Member
    Plugin Author

    Posted 1 year ago #

    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 http://www.screencast.com/t/aw4iyvai)

  5. Dirty Bill
    Member
    Posted 1 year ago #

    bummer, the screencast link 404's.

  6. fireproofsocks
    Member
    Plugin Author

    Posted 1 year ago #

    Actually, the screenshot should show the "Show In Menus" set to "Custom"...

  7. fireproofsocks
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic