Want to add a google custom search engine at the navigation bar.
How can I add a Google custom search engine to replace the original search box from graphene, at the navigation bar?
I dont need to replace it, I can disable it via options and then insert the google cse in that place via widgets or whatever. (just want to do the easiest way lol).
YES! Im done, and so proud of myself! 😀
I could put the Google CSE replacing the original search bar, and better, I used the pretty submit button from the graphene theme, replacing the ugly “search” button from Google CSE 😀
I simply changed the code on searchform.php, adding my Google CSE generated code, and then erasing the “input type submit”, replacing for “button type submit”! 😀
If anyone wants to do that, I can help.
Thanks for everything!
AnonymousAugust 28, 2013 at 2:15 am #40097
Keep in mind that editing theme files is not a good idea. Any changes you made will be overridden when the theme gets an update next time. So consider using a child theme.
Marking thread as resolved. You can do this yourself as well.Mod
@vaeryl, could you be so kind and paste the code for what you had done here? I try to the same thing myself, but calling what have I done “an fail” would be an exaggeration. And would insult other failures in the world.
Can you submit the code here, pretty please?
- You must be logged in to reply to this topic.