How To Add Google Custom Search Below All Blogger Post

I shared with you the other time "How To Add Facebook Comment Box To Blogger Blog". In which it can brings traffics to blog/website.
Today, am sharing another Blog Tutorial which can also generate you a free traffic.

What i want to share is something like this: (See the below picture)

To Get Started:
Login To your Blog Account



Go to "Template"

Go to "Edit Template"

Search for <b:if cond='data:blog.pageType == &quot;item&quot;'> (Use Control + F to search)

Immidiately After <b:if cond='data:blog.pageType == &quot;item&quot;'>

Paste the Below Code

<h1>What Else Do You Need? Search Here</h1>
<script>
  (function() {
    var cx = &#39;003034047206839396390:9jwljlpowhi&#39;;
    var gcse = document.createElement(&#39;script&#39;);
    gcse.type = &#39;text/javascript&#39;;
    gcse.async = true;
    gcse.src = (document.location.protocol == &#39;https:&#39; ? &#39;https:&#39; : &#39;http:&#39;) +
        &#39;//www.google.com/cse/cse.js?cx=&#39; + cx;
    var s = document.getElementsByTagName(&#39;script&#39;)[0];
    s.parentNode.insertBefore(gcse, s);
  })();
</script>
<gcse:search/>

Note: Change the Red line color to anything you want.

Don't forget We Love Comments and also sharing.

Cheer....

No comments:

Post a Comment