WordPress Copy Protect is now essential to keep safe your post from thieves (who copy your post from your blog) .Today I will share the code that will help you to  Protect your blog post from being copy.




We write post by doing hard work and support of our knowledge.If anyone without our permission copy our posts  and paste that and use the post to their blog it really hurt us.So to stop the post being copied from blog we must use copy protect.

Also Read :Show Related Posts by category without plugin

What You have to Do :

Go to your WordPress admin Pannel.Than go to – Appearance >> Editor . Then open the file named header.php .  just like the picture ….

Go TO HEADER

Paste the code in <head> ……… </head> , just like the picture ….

PASTE THE CODE

Also Read : Add Pagination in WordPress without plugin

Then Copy the code ::

 

<script type="text/javascript">
/******************************************************************************
***   CopyProtect for Blog Without Plugin shared by Perfectneed.com ****
******************************************************************************/
function clickIE4(){
if (event.button==2){
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("return false")
// --> 
</script>

<script type="text/javascript">

function disableSelection(target){
if (typeof target.onselectstart!="undefined") //For IE 
    target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined") //For Firefox
    target.style.MozUserSelect="none"
else //All other route (For Opera)
    target.onmousedown=function(){return false}
target.style.cursor = "default"
}
</script>

Then press Update .That’s all .Now no one can copy your post from your blog. Have a good day.

If there is any problem or question,then comment , i will try to answer them.

 

Also Read : How to Reduce Loading Time in WordPress Blog