1

WordPress Function for Hide Admin Bar

posted on November 17, 2011 17:26 PM by Jhoy Imperial
under How To, Wordpress

Here is the simplest way to hide that wordpress admin bar from the top of your page.

Add the following code to your active theme functions.php

<?php show_admin_bar( false ); ?>

This is compatible with WordPress 3.1.0 and above. If you are still using versions lower than 3.1.0, you could check out my other post on other ways on how to hide the admin bar.

HTH :D

Reference: Function Reference/show admin bar

  • Lenapple

    Great tip!

Recent Tweets

Sponsored Links

Recent Comments

 

"Minimalist Cereal 2"
design and theme by Jhoy Imperial

Email us at support@codingcereal.com

Copyright 2010 - 2011 © www.codingcereal.com