Removing the WordPress Admin Bar | iGetPro

Removing the WordPress Admin Bar | iGetPro

Hi Guys,

To remover the WordPress Admin bar from the top of all the pages you will need to do the following:

  1. Open your theme function.php page and add the following piece of code
  2. <?phpadd_filter(‘show_admin_bar’, ‘__return_false’);?>

This will remove the bar from all your wordpress pages.

Enjoy 🙂

Pin It on Pinterest