WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Type Creator
WCK Post Type Creator showing only 4 post type (6 posts)

  1. Jageshmk
    Member
    Posted 2 years ago #

    Hi,

    We have installed WCK Post Type Creator in my wordpress.But its showing only 4 post type in admin sidebar.

    Please give suggestion to show all post type in admin sidebar

    Thank you
    JageshMk

    http://wordpress.org/extend/plugins/custom-post-type-creator/

  2. bwhontwerpers
    Member
    Posted 1 year ago #

    Hi,

    I'm having the same problem. My fifth custom post type isn't showing up in the admin menu. I can, however, access it by navigating to another custom post type and change the post_type parameter in the URL to the 'hidden' custom post type. So the registration of the new post type seems to be valid, it just isn't included in the admin menu bar (left).

    Any suggestions?

  3. lagunas
    Member
    Posted 1 year ago #

    Same here!

    4 custom types: all show in the admin menu
    5 custom types: only the first 4 show in the admin menu
    6+ custom types: all show in the admin menu except for the 5th.

    So if you create a 'false' post type (a post type you are not going to use), and place it in the 5th place, it works as expected.

    It's not very tidy, though.

  4. bwhontwerpers
    Member
    Posted 1 year ago #

    It isn't tidy at all, but this is some useful info. Inserting a false post type first thing this morning. Hopefully this will be fixed in a future update. Thanks lagunas.

  5. more2come3
    Member
    Posted 1 year ago #

    To be able to show all custom post types on the admin left menu, you have to modify the wck-cptc.php.

    Change the position value from this:

    $args = array(
    	'page_title' => 'WordPress Creation Kit',
    	'menu_title' => 'WCK',
    	'capability' => 'edit_theme_options',
    	'menu_slug' => 'wck-page',
    	'page_type' => 'menu_page',
    	'position' => 30 // Right after comments menu and the other
    );

    to

    $args = array(
    	'page_title' => 'WordPress Creation Kit',
    	'menu_title' => 'WCK',
    	'capability' => 'edit_theme_options',
    	'menu_slug' => 'wck-page',
    	'page_type' => 'menu_page',
    	'position' => 66 // Right after Plugins menu and the other
    );

    this would allow your more than 4 custom post types to be displayed.

  6. bwhontwerpers
    Member
    Posted 1 year ago #

    Thanks for the tip more2come3, that should work for now. Would be really cool if this could get fixed in an update or something :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic