function annointed_admin_bar_remove() {
global $wp_admin_bar;
/* Remove their stuff */
$wp_admin_bar->remove_menu('wp-logo');
}
add_action('wp_before_admin_bar_render', 'annointed_admin_bar_remove', 0);
this is on the ssl or php ?
You can copy and paste the code Ipstenu wrote above into the function.php of your theme if you like. If you add it to a child theme it will keep working even if you update as well.
Just go to wp-content>themes>then the name of the theme you want to remove the logo from
<?php
function annointed_admin_bar_remove() {
global $wp_admin_bar;
/* Remove their stuff */
$wp_admin_bar->remove_menu('wp-logo');
}
add_action('wp_before_admin_bar_render', 'annointed_admin_bar_remove', 0);
———————the rest of your code below that.
Glen Charles Rowell
Or put it in a .php file in your mu-plugins folder 😉
Works gangbusters and isn’t theme dependent.
Didn’t worked for me. this is my functions.php http://pastebin.com/pgvKL9uk
pranshavs – Make a new topic. And unless you’re seeing this not work ONLY in 3.4, you should put it in the normal troubleshooting section.