Fixed it
-
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 ?>;
should be
var show_msg = ‘<?php echo $show_msg_on_off ?>’;
Or else there is a console error, and the plugin doesn’t work.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Fixed it’ is closed to new replies.