Replacing default WordPress Search with Ajax Search Pro

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Replacing default WordPress Search with Ajax Search Pro

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 7 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #10371

    Hi, I am using the latest versions of WordPress; Woocommerce and the Jupiter theme (version 5).

    I have installed your plugin and if I add it to a test page via the shortcode, then it works fine.

    I would like it to replace the search icon in my main nav menu so it become the primary search for my site.

    How do I implement this?


    You must be logged in to view attached files.
    Ernest Marcinko
    Ernest Marcinko

    Hi Gary,

    It looks like the fullscreen search is not automatically replacable for that theme.

    In this case the only option is to replace the search bar manually directly within the search theme files:

    While it is not part of the support process I cannot guarantee this suggestion will work correctly, but I’ve downloaded and looked at the theme files, you can try the following steps:

    1. Make sure to have a back-up copy of your theme and everything
    2. Open up the wp-content\themes\jupiter\views\header\global\full-screen-search.php file via FTP
    3. Change it’s contents to this:
    4. In the code in the upper mentioned url I use the shortcode for the first search instance, which might be different for you (if you have multiple search instances).
    In that case just replace the shortcode for search ID=1 on the middle of line 18, which is this:

    [wpdreams_ajaxsearchpro id=1]

    to the one you are using.

    Now, after saving and refreshing the page, the ajax search pro search bar should be displayed instead of the default theme search in the full screen box.

    If you need any help with the replacement, feel free to post temporary FTP details and I will do it for you.

    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.