array( 'name' => 'Admin Page Framework', 'all_items' => __( 'Sample Posts', 'admin-page-framework-demo' ), 'singular_name' => 'Admin Page Framework', 'add_new' => 'Add New', 'add_new_item' => 'Add New APF Post', 'edit' => 'Edit', 'edit_item' => 'Edit APF Post', 'new_item' => 'New APF Post', 'view' => 'View', 'view_item' => 'View APF Post', 'search_items' => 'Search APF Post', 'not_found' => 'No APF Post found', 'not_found_in_trash' => 'No APF Post found in Trash', 'parent' => 'Parent APF Post' ), 'public' => true, 'menu_position' => 110, 'supports' => array( 'title' ), // 'supports' => array( 'title', 'editor', 'comments', 'thumbnail' ), // 'custom-fields' 'taxonomies' => array( '' ), 'has_archive' => true, 'show_admin_column' => true, // this is for custom taxonomies to automatically add the column in the listing table. 'menu_icon' => plugins_url( 'asset/image/wp-logo_16x16.png', APFDEMO_FILE ), // ( framework specific key ) this sets the screen icon for the post type for WordPress v3.7.1 or below. 'screen_icon' => dirname( APFDEMO_FILE ) . '/asset/image/wp-logo_32x32.png', // a file path can be passed instead of a url, plugins_url( 'asset/image/wp-logo_32x32.png', APFDEMO_FILE ) ) ); /* * If you find this framework useful, include it in your project! * And please leave a nice comment in the review page, http://wordpress.org/support/view/plugin-reviews/admin-page-framework * * If you have a suggestion, the GitHub repository is open to anybody so post an issue there. * https://github.com/michaeluno/admin-page-framework/issues * * Happy coding! */