The thing is that I found a lot article on the inte.net that briefs like this,
<?php wp_footer(); ?>
<?php wp_footer(); ?>
<?php wp_head(); ?>
<?php wp_head(); ?>
function my_function_admin_bar() {
return false;
}
add_filter('show_admin_bar', 'my_function_admin_bar');
I checked all of that and everything is fine and in order. It seems it creating a white space before the header but it is actually not showing up with quick access buttons on the frontend.
NB: Previously it was displaying the admin bar but all of a sudden it just disappeared.
Please help to fix this...
Do you still have the code you listed as #3 of your question (the function in function.php
) included? If yes, delete that - return false
hides the admin bar....
first put this: <?php wp_footer(); ?>
<?php wp_footer(); ?>
after this <?php get_header(); /*Template Name: Debut Party*/?>
<?php get_header(); /*Template Name: Debut Party*/?>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.