Front Page Sliders
For ClinicServer
if ( ! function_exists('front_page_slider_88') ) { // Register Custom Post Type function front_page_slider_88() { $labels = array( 'name' => _x( 'Front Page Sliders', 'Post Type General Name', '_88' ), 'singular_name' => _x( 'Front Page Slider', 'Post Type Singular Name', '_88' ), 'menu_name' => __( 'Front Page Slider', '_88' ), 'parent_item_colon' => __( 'Parent Front Page Slider:', '_88' ), 'all_items' => __( 'All Front Page Sliders', '_88' ), 'view_item' => __( 'View Front Page Sliders', '_88' ), 'add_new_item' => __( 'Add New Front Page Sliders', '_88' ), 'add_new' => __( 'Add New', '_88' ), 'edit_item' => __( 'Edit Front Page Slider', '_88' ), 'update_item' => __( 'Update Front Page Slider', '_88' ), 'search_items' => __( 'Search Front Page Slider', '_88' ), 'not_found' => __( 'Not found', '_88' ), 'not_found_in_trash' => __( 'Not found in Trash', '_88' ), ); $args = array( 'label' => __( 'front_page_slider_88', '_88' ), 'description' => __( 'Front Page Slider Entries', '_88' ), 'labels' => $labels, 'supports' => array( 'title', 'editor', 'excerpt', 'thumbnail', 'custom-fields', 'page-attributes', ), 'taxonomies' => array( 'category', 'post_tag' ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'show_in_nav_menus' => true, 'show_in_admin_bar' => true, 'menu_position' => 5, 'can_export' => true, 'has_archive' => true, 'exclude_from_search' => true, 'publicly_queryable' => true, 'capability_type' => 'page', ); register_post_type( 'front_page_slider_88', $args ); } // Hook into the 'init' action add_action( 'init', 'front_page_slider_88', 0 ); }