0
novanetworx
Hi there. I would like to edit/change the default TEAM words to CREW in the plugin files. i.e. Where the plugin displays TEAM on the user interface > CREW.
Reason: This project is for a film crew booking agency and I would like the administrators/editors of the site to "see" All Crew, Crew Members, etc. Appose to All Team, Team members, etc.
Hope this all makes sense.
2 Subscribers
Submit Answer
2 Answers
Best Answer
0
function register_post_type_team(){ $singular = __( 'Crew', team_textdomain ); $plural = __( 'Crew', team_textdomain ); $post_type = array( 'labels' => array( 'name' => $plural, 'singular_name' => $singular, 'menu_name' => $singular, 'all_items' => sprintf( __( 'All %s', team_textdomain ), $plural ), 'add_new' => __( 'Add New', team_textdomain ), 'add_new_item' => sprintf( __( 'Add %s', team_textdomain ), $singular ), 'edit' => __( 'Edit', team_textdomain ), 'edit_item' => sprintf( __( 'Edit %s', team_textdomain ), $singular ), 'new_item' => sprintf( __( 'New %s', team_textdomain ), $singular ), 'view' => sprintf( __( 'View %s', team_textdomain ), $singular ), 'view_item' => sprintf( __( 'View %s', team_textdomain ), $singular ), 'search_items' => sprintf( __( 'Search %s', team_textdomain ), $plural ), 'not_found' => sprintf( __( 'No %s found', team_textdomain ), $plural ), 'not_found_in_trash' => sprintf( __( 'No %s found in trash', team_textdomain ), $plural ), 'parent' => sprintf( __( 'Parent %s', team_textdomain ), $singular ) ), 'description' => sprintf( __( 'This is where you can create and manage %s.', team_textdomain ), $plural ), 'public' => true, 'show_ui' => true, 'capability_type' => 'post', 'map_meta_cap' => true, 'publicly_queryable' => true, 'exclude_from_search' => false, 'hierarchical' => false, 'rewrite' => true, 'query_var' => true, 'supports' => array( 'title'), 'show_in_nav_menus' => false, 'menu_icon' => 'dashicons-groups', ); return $post_type; } add_filter( 'register_post_type_team', 'register_post_type_team' );
Best Answer
0
Welcome to our forum,
Please download version 3.2.14 from https://pickplugins.com/my-account/
I have added language file.
Regards
Anywhere in your theme functions.php file.
Regards