Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Update functions.php #63

Open
wants to merge 1 commit into from

1 participant

@diazemiliano

Disable WP Admin Bar in Front-End

@diazemiliano diazemiliano Update functions.php
Disable WP Admin Bar in Front-End
a517660
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 12, 2012
  1. @diazemiliano

    Update functions.php

    diazemiliano authored
    Disable WP Admin Bar in Front-End
This page is out of date. Refresh to see the latest.
Showing with 7 additions and 0 deletions.
  1. +7 −0 functions.php
View
7 functions.php
@@ -512,6 +512,13 @@ function bootstrapwp_breadcrumbs() {
}
} // end bootstrapwp_breadcrumbs()
+/*
+| -------------------------------------------------------------------
+| Disable WP Admin Bar in Front-End
+| -------------------------------------------------------------------
+|
+| */
+ add_filter('show_admin_bar', '__return_false');
/**
* This theme was built with PHP, Semantic HTML, CSS, love, and a bootstrap.
Something went wrong with that request. Please try again.