How To Add Non Removable Credit In Template?


#31

The code Which I Paste below head-\

<script type="text/javascript">
//<![CDATA[
$(document).ready(function() 
{
 if($("#credit").attr("href")!="http://ngtechzone.blogspot.com/")
 {
   window.location.href="http://ngtechzone.blogspot.com/";
 }
});
//]]>
</script>

And The Credit-

Designed By <a href='http://google.com/' id='credit'>Google</a>.

Look There is change in url but it’s not redirecting maybe one more script is needed. Please Help!!


#32

No. You have to add them together in body section! And one more thing. Make sure your template have the jquery script. If you don’t have jquery script in your template, then this won’t work. To add jquery, add below script bellow <head>:

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js' type='text/javascript'></script>

#33

I see that in your demo blog you have putted the same url as in the credit that’s why its redirecting but i need to redirect when anyone changes the credit url.!!


#34

He has changed it into google and I guess it works fine!


#35

Awesome It’s Working Now!! The Problem Was That I Was Pasting But Codes In Different Places But Now It Works!! :smile:


#36

Cool Bro! Now waiting for your template :grinning:


#37

I’ll surely Notify You When I Release It :smile:


#38

Nitishk, I think he is talking about my template. :grin:


#39

I Don’t Know?? Because He Has Not Mentioned Anyone???


#40

I am talking about both’s Template :sweat: I know Shivansh has almost completed it now I am waiting for Nitishk


#41

Hello @Shivansh BTW how Can I Make This Script Invisible. I Mean can I Host The Script file On Google Drive And Then Link It SO It Will be More difficult To Crack It :smile:


#42

No. It will be more easier. Wait. I am typing how to make it complicated.


#43

Ok Waiting For Your Reply!! :smile: Reply Fast!!


#44

Hello @Shivansh There is also one more problem that when i inserted these scripts my template navbar is not working fine also scroll to top button get disappeared. Please Tell Me How To solve This!!


#45

Awesome Man Really Worked For Me. I have been searching for this code for about a month.


#46

@Hassan and @ngtechzone, the post has been published - SOLUTION: How to Make Non-Removable Credits More Complicated?


#47

First you will need to create a text widget in your layout. Then go to the template and then edit html. Find your text widget using the jump to button that’s near the top of page. After your at the text widget code after

Title='your title here'

You will put

Lock='true'

For expert coders they could get rid of the credit but people not good with code would struggle getting rid of it.


#48

Lol! This is too easy even for a beginner! Some smart newbies directly delete the <b:widget></b:widget> snippet only.By the method of shivansh. If the javascript doesnt find the element it will get redirect to maker’s page!


#49

How To Add Non Removable Credit In Template? which is non hide able with style=“visibility:hidden” ?


#50

Yes.when javascript combined with logic.