• Hi,

    I wonder if there’s an option to hide the bar on the frontend? It’s showing at the bottom of the screen for every admin even when the WordPress admin toolbar is not active on the frontend.

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    This is an intentional design decision (so you can access QM even if the admin toolbar isn’t visible) but you’re not the first person to ask if it’s possible to hide this. I might add an option to hide QM when the toolbar isn’t visible, but it won’t be a priority.

    In the meantime you can use the following code in your wp-config.php file to disable QM on the front end:

    if ( ! defined( 'WP_ADMIN' ) || ! WP_ADMIN ) {
    	define( 'QM_DISABLED', true );
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Hide query monitor bar on the frontend’ is closed to new replies.