minitick
  • HTML
    • Bootstrap
  • PHP
  • jQuery
  • HTACCESS
  • CMS
    • Wordpress
      • Themes
      • Plugins
    • Opencart
    • Magento
    • Joomla
  • Web
    • HTTP Server
      • Apache
      • IIS
      • Nginx
    • Web Server
      • Centos
      • Debian
      • Linux
      • Ubuntu
      • Windows
  • Other
    • Python
    • CSS
    • Ajax
    • SEO

Remove Wordpress logo from admin bar

  • Home
  • Wordpress
  • Remove Wordpress logo from admin bar
  • CCDSIU
  • 2020-07-24
  • Snippets,Wordpress
Remove Wordpress logo from admin bar

Remove Wordpress logo from admin bar

Just add the below code in the functions.php file of your theme

function remove_wp_logo() {
	global $wp_admin_bar;
	$wp_admin_bar->remove_menu('wp-logo');
}
add_action( 'wp_before_admin_bar_render', 'remove_wp_logo' );

This will remove the Wordpress Logo from the admin bar

adminbar,logo,wordpress

Comments for this post

Latest Posts

  • Configuration of Yii2 Advanced setup for single domain
  • Add new line in php command line or terminal
  • Checking If GCC Compiler is installed?
  • Check OS version in Linux Command line/Terminal
  • Get domain name from url in php
  • Yii2 add javascript to view file
  • Remove Visual Editor Mode in WordPress
  • Stop Google from Crawling a WordPress Website
  • Opencart : Send SMS Notification to Customer after placing order?
  • Reset/Recover a Lost WordPress password
  • Turn Off Comments Notifications in WordPress Dashboard
  • Install Google Analytics in WordPress
  • Reset a Lost WordPress password from phpMyAdmin
  • How to change the WordPress username ?
  • WordPress : Find your WordPress Database
  • Character Count Online
  • Word Count Online
  • Add a new navigation menu in WordPress theme
  • How to add / register a new sidebar in WordPress ?
  • How to get WordPress post thumbnail of single post ?
Maintained by Minitick