Tulip Media

Entrepreneurial thoughts

Snippet WP: remove the WordPress menu from the top admin bar

A small PHP function by the way which allows you to remove the small WordPress logo from the administration bar, and therefore save a little space at the top of a WordPress blog on the administrator side:

// Remove WP logo and WP dropdown menu from top admin bar
function admin_bar_remove_logo() {

global $wp_admin_bar;
$wp_admin_bar->remove_menu('wp-logo');
}
add_action( 'wp_before_admin_bar_render', 'admin_bar_remove_logo', 0 );

To add in your functions.php file or via a WP Code type extension.

 

My latest tweets

New shorts on Blooness 👉 Vitality, longevity, weight loss: the ultimate guide to proteins in the keto-Mediterranean diet is online on Blooness. https://buff.ly/3xxNvpj
https://buff.ly/4cG2GM4

New shorts on Blooness 👉 The new premium content comes out in 48 hours, and what content! This will be the most comprehensive guide on the amount of protein to consume on a keto-Mediterranean diet. See you soon !
https://buff.ly/3L2KbFP

New Post: Combo, the best solution to put an end to the headache of scheduling and HR management https://buff.ly/4eE6JtT

Load more

Don't miss business advice by email

No spam, just an email when new content is published.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_USEN