Quote:
Originally Posted by tbworld
I have used (see reference below), but my template code unfortunately will not help you. Read through the article if this is the direction you wish to go, then I can help you with some basic template code to implement it.
https://support.google.com/customsearch/answer/2630963
|
I read it and followed it.
My code is:
<script>
(function() {
var cx = '014891898195566079264:j9p1m_ucz0q';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
'//www.google.com/cse/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
<gcse:search></gcse:search>
Where, in which template, would I put this so that I can have a Google search box at the end of the Navbar or right side of the header?
Thanks!!