Racial Justice Project
Akonadi Racial Justice Project
// Register Custom Post Type function custom_post_type() { $labels = array( 'name' => 'Posters', 'singular_name' => 'Poster', 'menu_name' => 'Racial Justic Project', 'name_admin_bar' => 'RJ Project', 'parent_item_colon' => 'Parent Item:', 'all_items' => 'All Posters', 'add_new_item' => 'Add New Poster', 'add_new' => 'Add New', 'new_item' => 'New Poster', 'edit_item' => 'Edit Poster', 'update_item' => 'Update Poster', 'view_item' => 'View Poster', 'search_items' => 'Search Poster', 'not_found' => 'Poster not found', 'not_found_in_trash' => 'Not found in Trash', ); $args = array( 'label' => 'rj-posters', 'description' => 'Racial Justice Project: Posters', 'labels' => $labels, 'supports' => array( 'title', 'editor', 'thumbnail', 'comments', ), 'taxonomies' => array( 'category', 'post_tag' ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'menu_position' => 5, 'menu_icon' => 'dashicons-megaphone', 'show_in_admin_bar' => true, 'show_in_nav_menus' => true, 'can_export' => true, 'has_archive' => true, 'exclude_from_search' => false, 'publicly_queryable' => true, 'capability_type' => 'page', ); register_post_type( 'rj-posters', $args ); } // Hook into the 'init' action add_action( 'init', 'custom_post_type', 0 );