header-webbuild: remove top admin bar
This commit is contained in:
parent
747bdc3edd
commit
b2ad52d042
@ -42,6 +42,8 @@ if ( !defined( 'ABSPATH' ) ) {
|
|||||||
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"/>
|
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"/>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
remove_action('wp_head', '_admin_bar_bump_cb');
|
||||||
|
add_filter('show_admin_bar', '__return_false' );
|
||||||
print "<script>";
|
print "<script>";
|
||||||
print "var user = \"" . wp_get_current_user()->user_login . "\";";
|
print "var user = \"" . wp_get_current_user()->user_login . "\";";
|
||||||
print "var user_email = \"" . wp_get_current_user()->user_email . "\";";
|
print "var user_email = \"" . wp_get_current_user()->user_email . "\";";
|
||||||
|
BIN
images/download.png
Normal file
BIN
images/download.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
Loading…
Reference in New Issue
Block a user