EasyHits4U.com - Your Free Traffic Exchange - 1:1 Exchange Ratio, 5-Tier Referral Program. FREE Advertising!

Tuesday, 25 November 2014

WordPress coding [Episode -01] :: copy and paste to your site close

                                                                              


Everyone came to blows. Come to think they are. For a long time wondering WordPress bored s coding'll share. But I could not find time. Now it seems I can stay with you regularly. So now I sit WordPress coding of the first part. However, as is well known, but I am coding a series of posts to protect + just for starters started from very simple. Hopefully we will share tips on the more complex. Minimum 100 code will have to share. Let the word.

Behavior :

Then open the file in your theme's header.php now's copy the code below </ head> tag of the day before the paste. Then click on the update. successful After a short delay, we come to see that your site is working.
copy-past
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
ooeyasinoo highlight code dubble click to copy
<script type="text/javascript">
/******************************************************************************
***   COPY PROTECTED BY CHETANGOLE.COM/BLOG/WP-COPYPROTECT   version 2.2.0 ****
******************************************************************************/
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>
Tell me in the comments if you have any problem. And if you like a little and do not forget to comment.

No comments:

Post a Comment