Answers

Question and Answer:

  Home  WordPress Theme Development

⟩ Tell me how to hide the top admin bar at the frontend of WordPress 3.4?

Add the below mentioned code in the theme(active) function.php

add_filter(‘show_admin_bar’, ‘__return_false’);

(or)

Add the below code in the active theme stylesheet

#wpadminbar {

display: none; visibility: hidden;

}

 172 views

More Questions for you: