Skip to content

Hiding WordPress Admin bar

Remove the black WordPress admin bar from the front end of your Listivo site by adding a single filter to your child theme's functions.php.

1 minute read

This article explains how to hide the WordPress admin bar.

The front end of a Listivo site with the black WordPress admin bar at the top outlined in green: the site name "Listivo - Classified Ads & Directory", Customize, comments, + New, Edit Page and Edit with Elementor.

Please add this code to the Listivo Child Theme functions.php:

functions.php
add_filter('show_admin_bar', '__return_false', 999 );

Ask the people who build Listivo

We answer by email from support@tangiblewp.com. With Premium Support, we also fix your site when something breaks.

Was this guide helpful?