0

The thing is that I found a lot article on the internet that briefs like this,

  1. check footer.php for <?php wp_footer(); ?>
  2. check header.php for <?php wp_head(); ?>
  3. check function.php for
    function my_function_admin_bar() {
        return false;
    }

    add_filter('show_admin_bar', 'my_function_admin_bar');
  1. Check if in user profile show toolbar ticked on.

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.

N.B: Previously it was displaying the admin bar but all of a sudden it just disappeared.

Please help to fix this...

4

1 回答 1

1

您是否仍然包含您列为问题 #3 的代码(中的函数function.php)?如果是,请删除 -return false 隐藏管理栏....

于 2020-04-04T22:43:12.757 回答