Debugging slow WordPress Theme Customizer (Any option similar to Query Monitor)?

It turns out Query Monitor is, in fact, present in Customizer view. For some reason, I never once scrolled down to the bottom (or just didn’t pay attention). Just the debug/admin bar is not visible. Also, you can do this to get the admin bar in theme customizer: add_filter(‘show_admin_bar’, ‘__return_true’); Source Another useful tool is … Read more

is_active_sidebar() problem

In this case I would simply check if the slider plugin is activated – so your conditional statement would look like this: <?php if ( is_active_sidebar( ‘sidebar-hero’ ) && is_plugin_active( ‘slider-plugin-dir/slider-plugin-base-file.php’ ) ) : ?> wp_get_sidebars_widgets in your case works as expected – it checks for the widgets in wp_options table and keeps the widget … Read more