Revision: 32217
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 21, 2010 05:47 by rbjarnason
Initial Code
// create custom post type function create_my_slides_types(){ register_post_type('slides', array( 'label' => __('Slides'), 'singular_label' => __('Slide'), 'public' => true, 'show_ui' => true, 'capability_type' => 'post', 'hierarchial' => false, 'supports' => array( 'title', 'editor', 'excerpt', 'custom-fields' ), 'rewrite' => array( 'slug' => 'slides', 'with_front' => false ), ) ); } add_action( 'init', 'create_my_slides_types' );
Initial URL
Initial Description
Initial Title
Custom Post type
Initial Tags
Initial Language
PHP