Title: On/Off button doesn&#039;t work
Last modified: August 22, 2016

---

# On/Off button doesn't work

 *  Resolved [roninerrante](https://wordpress.org/support/users/roninerrante/)
 * (@roninerrante)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/onoff-button-doesnt-work/)
 * Trying it with Chrome but it does nothing.
 * [https://wordpress.org/plugins/wp-construction-mode/](https://wordpress.org/plugins/wp-construction-mode/)

Viewing 15 replies - 1 through 15 (of 15 total)

 *  Plugin Author [smartcat](https://wordpress.org/support/users/smartcat/)
 * (@smartcat)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/onoff-button-doesnt-work/#post-5862321)
 * Can you elaborate ?
    Did you test it while logged out ? this plugin runs only
   when you’re not logged in as admin, this way, as the admin you can see the site
   while building it and others can’t.
 *  Thread Starter [roninerrante](https://wordpress.org/support/users/roninerrante/)
 * (@roninerrante)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/onoff-button-doesnt-work/#post-5862337)
 * The button in the plugin settings, doesn’t switch on/off. For me is just a clickable
   image which does nothing 🙁
 *  Plugin Author [smartcat](https://wordpress.org/support/users/smartcat/)
 * (@smartcat)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/onoff-button-doesnt-work/#post-5862338)
 * thank you for explaining.
 * The click event is handled through JavaScript, if it’s not doing anything, my
   assumption is that there’s a javascript error in the dashboard preventing the
   click event from running.
 * Open the element inspector ( in chrome ) and look for errors( usually in red )
 * Feel free to report back, if the issue is related to our plugin, we’ll do our
   best to help.
 * Thanks
 *  Thread Starter [roninerrante](https://wordpress.org/support/users/roninerrante/)
 * (@roninerrante)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/onoff-button-doesnt-work/#post-5862344)
 * Errors:
 *  `Consider using ‘dppx’ units, as in CSS ‘dpi’ means dots-per-CSS-inch, not dots-
   per-physical-inch, so does not correspond to the actual ‘dpi’ of a screen. In
   media query expression: print, not all, (-webkit-min-device-pixel-ratio: 1.25),(
   min-resolution: 120dpi)
    jquery.slider-min.js?ver=1.8.1:1 Uncaught TypeError:
   Cannot read property ‘split’ of undefined admin.php?page=under_construction:1
   Denying load of chrome-extension://gkojfkhlekighikafcpjkiklfbnlmeio/js/jquery.
   min.map. Resources must be listed in the web_accessible_resources manifest key
   in order to be loaded by pages outside the extension. 2load-scripts.php?c=0&load[]
   =hoverIntent,common,admin-bar,jquery-ui-sortable,jquery-ui-datepicker,sv…:269
   Uncaught TypeError: Cannot read property ‘hasClass’ of undefined`
 *  Plugin Author [smartcat](https://wordpress.org/support/users/smartcat/)
 * (@smartcat)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/onoff-button-doesnt-work/#post-5862346)
 * DPI and chrome extension is not a big deal.
 * the error that’s causing this is jquery.slider-min.js?ver=1.8.1:1
 * This is a file that’s most likely being imported by a theme or another plugin,
   and it has an error.
 * Personally, I am not sure why jquery slider should be loaded into the dashboard..
   unless it’s required for the theme you’re using or another plugin.
 * If you know what is importing that file, disable the import and test.
    if you
   don’t, try disabling one plugin at a time and test at every disable. then try
   switching themes (just for testing purposes) and test again.
 * You will need to do some debugging to figure out this issue. However, it’s not
   related to the Construction Mode plugin, it’s coming from some other part of 
   WordPress.
 *  Thread Starter [roninerrante](https://wordpress.org/support/users/roninerrante/)
 * (@roninerrante)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/onoff-button-doesnt-work/#post-5862348)
 * It was the theme.
 * Thanks!
 *  Plugin Author [smartcat](https://wordpress.org/support/users/smartcat/)
 * (@smartcat)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/onoff-button-doesnt-work/#post-5862350)
 * no problem, glad we got it sorted out.
 * If you can leave a review for this plugin, that would be great!
    Click here to
   leave a quick feedback: [https://wordpress.org/support/view/plugin-reviews/wp-construction-mode](https://wordpress.org/support/view/plugin-reviews/wp-construction-mode)
 *  Thread Starter [roninerrante](https://wordpress.org/support/users/roninerrante/)
 * (@roninerrante)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/onoff-button-doesnt-work/#post-5862351)
 * Sure 🙂
 * It may be the theme or maybe a plugin used by the theme (RevSlider). I’m testing
   it out.
 *  Plugin Author [smartcat](https://wordpress.org/support/users/smartcat/)
 * (@smartcat)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/onoff-button-doesnt-work/#post-5862352)
 * thanks for the updates and the review!! will keep this issue in mind incase it
   happens to anyone else.
 *  Thread Starter [roninerrante](https://wordpress.org/support/users/roninerrante/)
 * (@roninerrante)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/onoff-button-doesnt-work/#post-5862359)
 * Ok detected. It conflicts with my theme “Sirens” (themeforest). Can’t switch 
   the button and if I change the theme it loses the customization… Too bad.
 *  Plugin Author [smartcat](https://wordpress.org/support/users/smartcat/)
 * (@smartcat)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/onoff-button-doesnt-work/#post-5862376)
 * that’s too bad. is the error showing any other page in the dashboard ?
 *  Thread Starter [roninerrante](https://wordpress.org/support/users/roninerrante/)
 * (@roninerrante)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/onoff-button-doesnt-work/#post-5862379)
 * No, only in your plugin settings section :-/
 *  Plugin Author [smartcat](https://wordpress.org/support/users/smartcat/)
 * (@smartcat)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/onoff-button-doesnt-work/#post-5862460)
 * i’ve marked this down for investigation when we’re working on the next update
 * thank you for reporting this issue
 *  Plugin Author [smartcat](https://wordpress.org/support/users/smartcat/)
 * (@smartcat)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/onoff-button-doesnt-work/#post-5862488)
 * I’ve added some conditional tags to the code that I hope may resolve the issue
   you had.
 * I don’t have the Sirens theme so i wasn’t able to test if what I did works.
 *  Thread Starter [roninerrante](https://wordpress.org/support/users/roninerrante/)
 * (@roninerrante)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/onoff-button-doesnt-work/#post-5862489)
 * For 3.10 version still doesn’t work.

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘On/Off button doesn't work’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-construction-mode_627772.svg)
 * [WP Construction Mode](https://wordpress.org/plugins/wp-construction-mode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-construction-mode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-construction-mode/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-construction-mode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-construction-mode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-construction-mode/reviews/)

 * 15 replies
 * 2 participants
 * Last reply from: [roninerrante](https://wordpress.org/support/users/roninerrante/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/onoff-button-doesnt-work/#post-5862489)
 * Status: resolved