Grantees
Grantee Profiles for Akonadi
// Register Custom Post Type function custom_post_type() { $labels = array( 'name' => 'Grantees', 'singular_name' => 'Grantee', 'menu_name' => 'Grantees', 'name_admin_bar' => 'Grantees', 'parent_item_colon' => 'Parent Grantee:', 'all_items' => 'All Grantees', 'add_new_item' => 'Add New Grantee', 'add_new' => 'Add New', 'new_item' => 'New Grantee', 'edit_item' => 'Edit Grantee', 'update_item' => 'Update Grantee', 'view_item' => 'View Grantee', 'search_items' => 'Search Grantee', 'not_found' => 'Grantee not found', 'not_found_in_trash' => 'Not found in Trash', ); $args = array( 'label' => 'grantee', 'description' => 'Grantee Profile Posts', 'labels' => $labels, 'supports' => array( 'title', 'editor', 'thumbnail', ), 'taxonomies' => array( 'category', 'post_tag' ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'menu_position' => 5, 'menu_icon' => 'f307', '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( 'grantee', $args ); } // Hook into the 'init' action add_action( 'init', 'custom_post_type', 0 );