SWAT Home Page Full Post Type
This is the post type for SWAT Productions for full container width on the home page
// Register Custom Post Type function home_page_full_post_type() { $labels = array( 'name' => _x( 'Home Page Full Post Types', 'Post Type General Name', 'text_domain' ), 'singular_name' => _x( 'Home Page Full Post Type', 'Post Type Singular Name', 'text_domain' ), 'menu_name' => __( 'Home Page Full Type', 'text_domain' ), 'parent_item_colon' => __( 'Parent Home Page Full Post Type', 'text_domain' ), 'all_items' => __( 'All Home Page Full Post Types', 'text_domain' ), 'view_item' => __( 'View Home Page Full Post Type', 'text_domain' ), 'add_new_item' => __( 'Add New Home Page Full Post Type', 'text_domain' ), 'add_new' => __( 'Add NewHome Page Full Post Type', 'text_domain' ), 'edit_item' => __( 'Edit Home Page Full Post Type', 'text_domain' ), 'update_item' => __( 'Update Home Page Full Post Type', 'text_domain' ), 'search_items' => __( 'Search Home Page Full Post Types', 'text_domain' ), 'not_found' => __( 'Not Home Page Full Post Types found', 'text_domain' ), 'not_found_in_trash' => __( 'Not Home Page Full Post Types found in Trash', 'text_domain' ), ); $args = array( 'label' => __( 'home_page_full', 'text_domain' ), 'description' => __( 'These are post types that will take the full width of the the home page area.', 'text_domain' ), 'labels' => $labels, 'supports' => array( 'title', 'editor', 'excerpt', 'thumbnail', 'custom-fields', ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'show_in_nav_menus' => true, 'show_in_admin_bar' => true, 'menu_position' => 10, 'menu_icon' => '', 'can_export' => true, 'has_archive' => true, 'exclude_from_search' => false, 'publicly_queryable' => true, 'query_var' => 'home_page_full', 'capability_type' => 'post', ); register_post_type( 'home_page_full', $args ); } // Hook into the 'init' action add_action( 'init', 'home_page_full_post_type', 0 );