Replace the search with google custom search

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #7365 Reply

    Saeed Khan

    I am using Frontier them from the last 5 years. I want to replace the default search engine to the google custom search. Is there is a way to add google custom search in the them.
    Thanks and regards.

    #7366

    Ron
    Keymaster

    Add a Text Widget to any widget area then add your Google Search Code. https://support.google.com/adsense/answer/160530

    #7374

    Saeed Khan

    Thank you for reply. But I want to replace the wordpress default search with google custom. I not found searchform.php in this them.
    Please help me where can I found this.
    Thanks

    #7375

    Ron
    Keymaster

    The theme uses the default searchform outputted by WordPress.
    Code is found in wp-includes/general-template.php

    If you just want to replace the WP Search on your site with Google Search then just follow my first reply it has the same results and is much safer than editing core files.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Replace the search with google custom search
Your information: