Subscribe my YouTube channel: Click to Subscribe!

How to create a License Generator for Blogger Templates | Satya Ki Pathshala

Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated

How to create a License Generator for Blogger Templates

How to create a License Generator for Blogger Templates
License Generator for Blogger

Template License Key is a unique key generated for Blogger Templates. To generate a License key for Blogger Templates it requires a Blog ID. The unique code is generated for that particular Blog ID to install that unique code to that particular Blogger Template.

So have you ever thought about why this License Key is important for Blogger Templates or any other Themes? If you want to know then don't skip this article.

The function of License Generator for Blogger

The license of any Blogger theme or template is important because, without the license key, anyone can use that template. You are putting great effect to create that Template, and obviously, for that, you deserve the price.

The first method is, if anyone tries to change the credit of the template, the blog then redirects to the website of the template owner. So, you can't make any changes to the HTML code of that template.

The second method is to verify the domain to use that particular template. If anyone buys that template and wants to resell it, then it can't be done because to use that template he needs to verify his domain first. So, reselling is not possible in that situation.

If anyhow a template can be applied to a blog, the template will not be able to display content. An example is a license used on the Plus UI Blogger Template designed by Fineshop. All templates that have been created have a very strong license installed.

For every domain, you need to install the different license keys,

So that's a little explanation about what a license key for a blogger template is and its functions of it. Next, we go to the core of the discussion, namely how to make a generator tool to create a license code. Here are the steps.

How to create a license tool generator for Blogger

Warning!
Before applying any code, first, back up your theme.


First, install the jQuery Script on your website. There are three different jQuery Scripts now install them all.

<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js'></script>

<script src='https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.3.1.min.js'></script>

<script src='https://code.jquery.com/jquery-3.3.1.min.js'></script>

  • Now open the Blogger Dashboard.
  • Create a page and name it "License Generator".
  • Now copy the following code and paste it into HTML view.

<div class="container all-input">
<div class="input-group mb-2">
<div class="input-group-prepend">
<span class="input-group-text">ID Blog</span>
</div>
<input class="form-control focus" id="idBlog" type="text" value="" />
<div class="input-group-prepend">
<button class="rounded-right btn btn-outline-info" id="generate" type="button">Generate</button>
</div>
</div>
<div class="input-group mb-2">
<div class="input-group-prepend">
<span class="input-group-text">Licence</span>
</div>
<input class="form-control focus" id="nqnia" readonly="" type="text" value="" />
</div>
</div>

<script type="text/javascript">//<![CDATA[
/*! jQuery v2.1.3 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
$("#generate").click(function(){
var myID = $('#idBlog').val();
var idGenerate = btoa(myID);
$('#nqnia').val(idGenerate);
console.log(idGenerate);
});
//]]></script>

  • Now save that page.
  • Now click on Publish to publish that page.

Your License Generator Page will be ready to serve. Want to see a demo of this? Click the button below.

Post a Comment

Please don't enter any spam link in the Comment Section. All comments are reviewed by the Admin!
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.