Create Custom Post Type for WordPress
Add this to your theme functions.php function theme_slug_register_post_type() { $labels = array( ‘name’ => _x( ‘Referrals’, ‘post type general name’, ‘theme-slug’ ), ‘singular_name’ => _x( ‘Referral’, ‘post type singular name’, ‘theme-slug’ ), ‘menu_name’ => _x( ‘Referrals’, ‘admin menu’, ‘theme-slug’ ), ‘name_admin_bar’ => _x( ‘Referral’, ‘add new on admin bar’, ‘theme-slug’ ), ‘add_new’ => _x( ‘Add […]
Read more