Replace WordPress search with Google custom search

Posted in: Newspaper
Post count: 1

Please I want to replace the normal WordPress search with a google custom search.

I have created my custom search with google, then I copied the code to “searchform.php”
Everything seems to work fine with the search widget on the sidebar.

But the search icon(which looks like a hand lens) on the header isn’t replaced with the custom search, it’s still showing the normal WordPress search and not the google custom search.

I needed it to be like that of WPBiginner where if you click on that search icon on the header and search, it will display google custom search results, not the regular WordPress search.

Please note: I am using the “Fitness PRO demo”

Post count: 35449

Hi,
I think that you are referring to this one -> https://i.imgur.com/vRmUDJy.png this is a live search made by our developers and if you want to have the google custom search instead of it, what you can do is to use tagDiv Composer, edit the page/template and replace that live search with widget search, in this way you’ll use the google custom search.
-> https://i.imgur.com/zoQfW2N.png use the right click to remove the element ->https://i.imgur.com/G8KTLtY.png
Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.