Tag: php

  • WordPress: Remove admin bar in front-end

    WordPress: Remove admin bar in front-end

    To remove Admin bar from WordPress front-end we can use WordPress filter hook: show_admin_bar. In your theme functions.php file add following piece of code. This code will remove admin bar front all pages in front-end. We can also simplify the code like following. This will work same as previous code. We can also use conditions…