Forum Replies Created
-
Author
-
cityofbuckeyeParticipant
Hi Laura – I am happy to provide ftp credentials but I don’t want that information to be public on the forum. Can you provide an email account I could send it to? My understanding is that all tickets are public on the forum?
Thanks,
cityofbuckeyeParticipantForgot to attach this. Thanks,
Attachments:
You must be logged in to view attached files.cityofbuckeyeParticipantHello Laura –
Thank you for the speedy response. I haven’t had much success utilizing plugins. As a result, I am attempting to hard code the google custom search into the site.
I would ultimately like user to be able to hover over the search icon and type in a search query as it currently exist (see attached image) on the theme but use Google Custom Search to provide results? Is it possible you could assist by telling me WHERE to add the following code in my header.php file?
______________________________________________________________________________________________
Instructions from Google Custom Search:Copy the following code, and paste it into a <div> element in your site’s <body> section, where you want the search box to render.
Note: For the most cross-browser compatibility, it is recommended that your HTML pages use a supported doctype such as <!DOCTYPE html>. CSS hover effects require a supported doctype.
<script>
(function() {
var cx = ‘010288930059507962473:mk17zrzx1e0’;
var gcse = document.createElement(‘script’);
gcse.type = ‘text/javascript’;
gcse.async = true;
gcse.src = (document.location.protocol == ‘https:’ ? ‘https:’ : ‘http:’) +
‘//cse.google.com/cse.js?cx=’ + cx;
var s = document.getElementsByTagName(‘script’)[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
<gcse:searchbox></gcse:searchbox>
________________________________________________________________________________________________________Sorry, I cant seem to figure it out for the life of me.
Thank you in advance
Attachments:
You must be logged in to view attached files. -
AuthorPosts