Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #7584

    What is the solution to create a custom post type with custom Meta Boxes ‘Page Layout’ ?

    The following not working

    register_post_type( ‘myposttype’,

    array(

    ‘label’ => __(‘Title’),

    ‘singular_label’ => __(‘Item’),

    ‘_builtin’ => false,

    ‘public’ => true,

    ‘show_ui’ => true,

    ‘show_in_nav_menus’ => true,

    ‘hierarchical’ => true,

    ‘capability_type’ => ‘page’,

    ‘rewrite’ => array(

    ‘slug’ => ‘mypostetype’,

    ‘with_front’ => FALSE,

    ),

    ‘supports’ => array(

    ‘title’,

    ‘editor’,

    ‘thumbnail’,

    ‘excerpt’,

    ‘custom-fields’,

    ‘page_layout’,

    ‘post-formats’,

    ‘comments’)

    )

    );

    Thanks

    #58558

    nobody sees what I mean?

    #58559

    Hey,

    you can add your post type in abundanceincludesadminregister-admin-metabox.php – afterwards it will also support custom meta boxes.

    #58560

    wonderful!

    Thank a lot and happy holiday season!

    #58561

    Glad that Dude could help :)

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

The topic ‘Create a custom post types failed’ is closed to new replies.