Question : WordPress - Admin - Change Admin Page Titles

Hello,

I'm looking for a work around on how to change the page titles and icons within the WordPress admin. For example, once logged into WordPress, on the left hand side you see "Media Library" and when you click that, it takes you to a page that at the top says "Media Library". I want to change this text at the top.

I found a plugin (Admin Menu Editor) to change the Menu Items, so the menu item on the left hand side that used to say "Media Library" now says "Manage Files". However when you click on Manage Files, the page title still says "Media Library". I want to be able to change this, and the icon as well if possible. I also want to do this w/o having to change any core files.

So a fix that would be nice would be something I can change in my themes functions.php file, or a plugin that can do this for me. Again, I do not want to edit the core files as that will no longer work once I upgrade.

Thanks in advance.

Answer : WordPress - Admin - Change Admin Page Titles

I figured out the solution myself. Man, EE. I'm answering most of my questions. I'm paying EE to have you guys answer them instead of me! Come on now. :P I'm not suppose to be the expert, you are!
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
// Gettext to Change Text in WordPress
function filter_gettext($translation, $text, $domain) {
	$translations = &get_translations_for_domain( $domain );
		if ( $text == 'Media' ):	return $translations->translate( 'Resources' ); endif;
		if ( $text == 'Media Library' ): return $translations->translate( 'Resource Library' ); endif;
		if ( $text == 'Upload New Media' ): return $translations->translate( 'Add a New Resource' ); endif;
	return $translation;
}
add_filter('gettext', 'filter_gettext', 10, 3);

// Change the Media Icon
function replace_media_library_icon() {
	echo '<style type="text/css">
		#icon-upload { background: url("images/icons32.png?ver=20100531") no-repeat -312px -5px; }
		#adminmenu .menu-icon-media div.wp-menu-image { background: url("images/menu.png?ver=20100531") no-repeat -151px -33px; }
		#adminmenu .menu-icon-media:hover div.wp-menu-image, #adminmenu .menu-icon-media.wp-has-current-submenu div.wp-menu-image { background: url("images/menu.png?ver=20100531") no-repeat -151px -1px; }
	</style>';
}
add_action('admin_print_styles', 'replace_media_library_icon', 50, 3);
Random Solutions  
 
programming4us programming4us