Plugin Name: Gaslightify
Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates
Description: A gasline to a Wordpress website.
-Version: 1.2
+Version: 1.24
Author: Gaslight Media
Author URI: http://www.gaslightmedia.com
License: Gaslight Media
content: url('.plugins_url('img/GLM_flame_none_trans_32x32.png', __FILE__).') !important;
}
#dashboard_activity .no-activity .smiley:before {
- content: url('.plugins_url('img/GLM_title_box_272x71.gif', __FILE__).') !important;
-
+ content: url('.plugins_url('img/PetoskeyRoboticsLogo.png', __FILE__).') !important;
}
#adminmenu .wp-menu-image img {
- content: url('.plugins_url('img/GLM_flame_box_inverted_16x16.png', __FILE__).') !important;
-
+ content: url('.plugins_url('img/GLM_flame_box_inverted_16x16b.png', __FILE__).') !important;
+}
+#wp-admin-bar-my-account > a {
+ content: logout;
}
</style>';
}
+
+function replace_howdy( $wp_admin_bar ) {
+ $my_account=$wp_admin_bar->get_node('my-account');
+ $newtitle = str_replace( 'Howdy,', 'Welcome back,', $my_account->title . "!" );
+ $wp_admin_bar->add_node( array(
+ 'id' => 'my-account',
+ 'title' => $newtitle,
+ ) );
+ }
+ add_filter( 'admin_bar_menu', 'replace_howdy',25 );
?>
display: none !important;
}
-.smiley {
- content: url("http://localhost/www.petoskeyrobotics.org/wp-content/plugins/Gaslightify/img/GLM_title_box_272x71.gif") !important;
-}
\ No newline at end of file
+// To delete the dashboard menu option
+/*#menu-dashboard {
+ display: none;
+}*/
\ No newline at end of file