• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

How To Remove or Hide The WP Admin Bar On The Front End

There’s at least 3 ways you can remove the admin bar or hide it on specific pages.

A forum member asked: Hello, I’m trying to hide the admin bar on a page called “Registration”.

Register for full access

Reader Interactions

Comments

  1. Joan says

    November 10, 2013 at 8:06 am

    Great tip!

    Another way: show_admin_bar(false);

    Log in to Reply
    • Brad Dalton says

      November 10, 2013 at 8:30 am

      Where do you put that code Joan?

      Wouldn’t you need to include it in a function?

      Log in to Reply
      • Joan says

        November 10, 2013 at 8:33 am

        In functions.php works fine. Or in a plugin, so it does not depends on the theme.

        No, it doesn’t need to be in a function. 🙂

        Log in to Reply
        • Brad Dalton says

          November 10, 2013 at 8:40 am

          Yep, works site wide in the functions file. Thanks for that.

          Log in to Reply
          • Joan says

            November 10, 2013 at 8:43 am

            Your welcome! Your site is very useful and helps a lot! Happy to add my tiny bit of content.

          • Brad Dalton says

            November 10, 2013 at 9:14 am

            Always appreciated Joan.

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags