If you want to protect your content from being copied or if you want to protect your pictures being saved by the end user you can disable the right click on your wordpress site. There are plugins that will do the same but it will be easier and wont takes the server resources much. You can do this just by adding 5 lines of  code in header.php. Let us see a how to diable right click option inwordpress step by step.
  1. Go to Dash board
  2. Got to Appearance -> Editor
  3. Open header.php
  4. Just before closing the head tag </head> add the below lines, and check your your site.
    1
    2
    3
    4
    5
    6
    7
    <script type="text/javascript">
    $(document).ready(function(){
    $(document).bind("contextmenu",function(e){
    return false;
    });
    });
    </script>
If this wont work for you then you can try below plugin

Originally posted on October 12, 2011 @ 4:57 pm

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.