Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #25480

    Hello I would like to add a google custom search to the theme.

    I would like to keep the fly out search tab. But add GCS into it.

    I found a plugging to do this and have to add this code to function it.

    if (function_exists(“wpCustomGoogleSearch”)) { wpCustomGoogleSearch(); }

    Does anyone know where I can add this?

    Thanks,

    Mark

    #127124

    Hi,

    This is from the http://wordpress.org/plugins/wp-custom-google-search/installation/ plugin.

    Don’t use it. It is not compatible with WordPress 3.52 and throws lots of nasty warnings the moment it is activated. Find something else.

    Thanks,

    Nick

    #127125

    do you know a way that i can add google custom search into your fly out search box on the main page?

    #127126

    Hi,

    If you can add the Google search functionality to the regular search box widget I will be able to tell you what’s needed to add it into the top search box once I see the code. There are multiple Google search plugins. Try them out till you get one working on the regular widget search, and then we will get it into the Ajax searchbox.

    Thanks,

    Nick

    #127127

    Thanks Nick!

    Ok I found a plugin called “Google Custom Search” by the people at littlehandytips.com

    This plugin seems to be the most popular.

    I setup my GCS and added to code within the plugging. Its currently in the widget.

    As I mentioned I would like to add it to the fly out search.

    Regards,

    Mark

    My Website is http://www.barbadosapartment.com

    #127128

    Hi,

    Are you sure that search works? I seem to find any website on it but yours.

    Thanks,

    Nick

    #127129

    Yes the search is correct. Im just testing tweaks on my other domain.

    When I launch my site its actually going to be http://www.gtahomeinspector.com

    #127130

    Ok I think I got it.

    Followed the suggestion from DUDE in another post.

    Using a plugging call Google CSE…

    It utilizes google API’s and adds google search to theme seamlessly.

    Do you have any issues with this plugin?

    Cheers,

    Mark

    #127131

    Hey!

    Personally I didn’t test it but as long as it doesn’t break wordpress standards it should work with our theme.

    Best regards,

    Peter

    #127132

    Hi markbener,

    did you get it to work? With me it doesn’t. It seems to work, but the results are all linking to search results (http://my-site.com/?s=randomsearch will display search results, but all the search results displayed link to the same url http://my-site.com/?s=randomsearch).

    Did you change something in the theme code?

    Thanks :)

    Vitaliss

    #127133

    Hey!

    Maybe you need to check the plugin configuration. If the search still points to http://my-site.com/?s=randomsearch the plugin doesn’t seem to work at all. You can use this plugin to maximize the search power of your website: SearchWP

    Refer to this link in order to integrate the plugin on ajax search: http://kriesi.at/documentation/enfold/use-searchwp-instead-of-the-standard-search/

    Regards,
    Peter

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Google Custom Search’ is closed to new replies.