Permalink
Browse files

replace howdy in the admin bar with welcome. thank to jamescarrier

  • Loading branch information...
1 parent 65a1ded commit 2d2cd066e93289d10a76354b74b56a068cd0859b @randyjensen committed May 17, 2012
Showing with 8 additions and 6 deletions.
  1. +4 −0 README
  2. +3 −5 functions.php
  3. +1 −1 style.css
View
4 README
@@ -9,6 +9,10 @@
Ian Stewart for his Toolbox theme and Paul Irish for his HTML5
Boilerplate.
+## Recent Changes (0.9.1)
+
+1. Replace 'Howdy' in the admin bar with Welcome. Thank to jamescarrier for this.
+
## Recent Changes (0.9.0)
1. Code for Apple Touch icons updated in header.php. Thanks to jamescarrier for this.
View
@@ -108,8 +108,7 @@ function customize_meta_boxes() {
/**
* Remove superfluous elements from the admin bar (uncomment as necessary)
*/
-function remove_admin_bar_links()
-{
+function remove_admin_bar_links() {
global $wp_admin_bar;
//$wp_admin_bar->remove_menu('wp-logo');
@@ -126,10 +125,9 @@ function remove_admin_bar_links()
//add_action('wp_before_admin_bar_render', 'remove_admin_bar_links');
/**
- * Replace the default welcome 'howdy' in the admin bar with something more professional.
+ * Replace the default welcome 'Howdy' in the admin bar with something more professional.
*/
-function admin_bar_replace_howdy($wp_admin_bar)
-{
+function admin_bar_replace_howdy($wp_admin_bar) {
$account = $wp_admin_bar->get_node('my-account');
$replace = str_replace('Howdy,', 'Welcome,', $account->title);
$wp_admin_bar->add_node(array('id' => 'my-account', 'title' => $replace));
View
@@ -4,7 +4,7 @@ Theme URI: http://www.thewebsite.com
Author: Randy Jensen & Randy Hoyt
Author URI: http://www.handcraftedwp.com
Description: HTML5 starter theme based off Ian Stewart's HTML5 Toolbox Theme with other goodies added plus chunks of Paul Irish's HTML5 Boilerplate mixed in for good measure. Shake well.
-Version: 0.9.0
+Version: 0.9.1
*/
/* html5doctor.com Reset Stylesheet \\v1.6.1 \\ Last Updated: 2010-09-17 \\ http://richclarkdesign.com \\ @rich_clark */

0 comments on commit 2d2cd06

Please sign in to comment.