Forum Replies Created
-
Author
-
cityofbuckeye
ParticipantHello Laura –
Below you will find the credentials. Thanks you in advance for you assistance. This is our testing server so I will have to duplicate any changes you make on the live site. It would be greatly greatly appreciated if you could provide instructions/notes as to what changes you will make and to what documents. Thank you again.
Hostname: 345.374.myftpupload.com
Port: 22
SFTP Username: e3452596347539
Password: bir0KW(4PJ2cityofbuckeye
ParticipantHi 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,
cityofbuckeye
ParticipantHello 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
-
AuthorPosts