You need to add single quotes around your php in disable-right-click-for-wp.php:49
var show_msg = <?php echo $show_msg_on_off ?>;
var show_msg = ‘<?php echo $show_msg_on_off ?>’;
Or else there is a console error, and the plugin doesn’t work.
- The topic ‘Fixed it’ is closed to new replies.