/** * Neuron SLider * Neuron Features * Neuron Services **/ function neuron_custom_posts() { // Neuron SLider register_post_type( 'slide', array( 'labels' => array( 'name' => __( 'Slides' ), 'singular_name' => __( 'Slide' ), 'menu_name' => __( 'Sliders' ), 'all_items' => __( 'Slides' ), 'add_new' => __( 'Add New' ), 'add_new_item' => __( 'Add New Slide' ), ), 'supports' => array('title', 'editor', 'custom-fields', 'thumbnail', 'page-attributes'), 'public' => false, 'show_ui' => true ) ); // Neuron Features register_post_type( 'feature', array( 'labels' => array( 'name' => __( 'Features' ), 'singular_name' => __( 'Feature' ) ), 'supports' => array('title', 'editor', 'custom-fields', 'thumbnail', 'page-attributes'), 'public' => false, 'show_ui' => true ) ); // Neuron Services register_post_type( 'service', array( 'labels' => array( 'name' => __( 'Services' ), 'singular_name' => __( 'Service' ) ), 'supports' => array('title', 'editor', 'custom-fields', 'thumbnail', 'page-attributes'), 'public' => false, 'show_ui' => true ) ); } add_action('init','neuron_custom_posts');
Leave a Reply