Thanks, but I thought that plugin was mainly for changing titles of pages and posts for the public side. I’m trying to change an admin template page title. Maybe I’m not looking in the right spot.
Is Episodes a custom post type or did you modify the post post type? It looks like you did the latter. (hmmm……) If so, how did you do it?
I used a plugin called Admin Menu Editor, but it seems to only change menu names, not the templates.
Maybe a custom post type would be simpler.
Thanks Steve, the solution on that page didn’t exactly solve my issue, but it did put me on the right path and I did finally figure this out. For anyone who wants to know, I ended up adding the following code to the functions.php file in my theme to change the default Posts to Episodes:
// Function to change "posts" to "episodes" in the admin side menu
function change_post_menu_label() {
global $menu;
global $submenu;
$menu[1][0] = 'Episodes';
$submenu['edit.php'][1][0] = 'Episodes';
$submenu['edit.php'][10][0] = 'Add Episode';
echo '';
}
add_action( 'admin_menu', 'change_post_menu_label' );
// Function to change post object labels to "news"
function change_post_object_label() {
global $wp_post_types;
$labels = &$wp_post_types['post']->labels;
$labels->name = 'Episodes';
$labels->singular_name = 'Episode';
$labels->add_new = 'Add Episode';
$labels->add_new_item = 'Add Episode';
$labels->edit_item = 'Edit Episode';
$labels->new_item = 'Episode';
$labels->view_item = 'View Episode';
$labels->search_items = 'Search Episodes';
$labels->not_found = 'No Episodes found';
$labels->not_found_in_trash = 'No Episodes found in Trash';
}
add_action( 'init', 'change_post_object_label' );