Any suggestions for getting this hack to work? Specifically, we're looking to remove the Updates menu with the big glaring number next to it. Perhaps the Update Notifications plugin could be massaged to do this sitewide, but for now any advice is appreciated.
Any suggestions for getting this hack to work? Specifically, we're looking to remove the Updates menu with the big glaring number next to it. Perhaps the Update Notifications plugin could be massaged to do this sitewide, but for now any advice is appreciated.
My guess would be that the code was put in the middle of another function or some other place incorrect?
I just tested with Nelo by adding the code to line 15 (or directly below this): load_theme_textdomain( TEMPLATE_DOMAIN, TEMPLATEPATH . '/languages/' );
This is what I added to remove the udpates
function mjnelo_admin_bar_render() {
global $wp_admin_bar;
$wp_admin_bar->remove_menu('updates');
}
add_action( 'wp_before_admin_bar_render', 'mjnelo_admin_bar_render' );
On my install this worked. Let us know if this continues to be an issue for you.
Beautiful, thank you! I did, however, have to edit the parent functions file. Just copying functions.php to the child folder, without any edits, caused the blank page.
Now, if only we could get an option in Update Notification to turn off notices for theme updates... ;-)
Responses (2)
Sales & Support Lead — 1st March 2011 04:55 #
Hiya jcnjr,
My guess would be that the code was put in the middle of another function or some other place incorrect?
I just tested with Nelo by adding the code to line 15 (or directly below this):
load_theme_textdomain( TEMPLATE_DOMAIN, TEMPLATEPATH . '/languages/' );This is what I added to remove the udpates
On my install this worked. Let us know if this continues to be an issue for you.
Thanks!
Member — 1st March 2011 20:34 #
Beautiful, thank you! I did, however, have to edit the parent functions file. Just copying functions.php to the child folder, without any edits, caused the blank page.
Now, if only we could get an option in Update Notification to turn off notices for theme updates... ;-)
Become a member