Home » Web development » How to remove The admin bar on the frontend in WordPress

code to Remove/ disable the top wordpress admin bar from front end in WordPress.
The admin bar on the frontend can be a bit of a pain if your using absolute / fixed positioning, or maybe you just hate it? Let’s get rid of it.

Copy paste code in Function.php of your theme root folder.

 // Remove the admin bar from the front end
add_filter( 'show_admin_bar', '__return_false' );
">

Here is code to Remove/ disable the top wordpress admin bar from front end in WordPress.
The admin bar on the frontend can be a bit of a pain if your using absolute / fixed positioning, or maybe you just hate it? Let’s get rid of it.

Copy paste code in Function.php of your theme root folder.

 // Remove the admin bar from the front end
add_filter( 'show_admin_bar', '__return_false' );
Leave a comment

0 Comments.

Leave a Reply


[ Ctrl + Enter ]

*

Wordpress Freelancer, Joomla Freelancer Web designer Mumbai india, Wordpress web developer India, Joomla Web developer india, Outsourcing web project india mumbai

By Santosh Kori Published: October 10, 2012 Professional Freelance Website developer 5 stars based on 65 reviews Total time: 24 hour 00 min Wordpress Joomla XHTML CSS jQuery HTML5 eCommerce CSS3 ☞ Offers low cost freelance web designing, asp php asp.net web development services from Mumbai India. Freelance web designer & developer Mumbai India.