Site logo

Archived topic

Replacing the default search bar in the navigation with Ajax Search Pro

13 replies · Started by Ken on January 18, 2017

Viewing posts 1–14 of 14

Hi, I recently purchased the Ajax Search Pro from codecanyon and I was wondering how do you change the currently default search bar with this plugin version?

thanks :)

Hi there,

Which search are you trying to replace? The one in your widgets?

Ajax Search Pro is supposed to be able to replace the default search (so the one you see in the title bar). They say that it works with 95% of themes. For ones it does not, it's a question of inserting their php code at the right place.

I also found that GP does not work with their plugin when their shortcode is inserted in the menu. It is supposed to. It does work in the main content area. I am going to test the hooks and customer headers today.

How are you inserting it into the menu?

The Navigation Search option in GP will likely take some filtering in order to make it work - is that where you're wanting it? It should be possible.

The regular search widget that comes with WP should work with it.

I was able to install the search function below the header using the elements function. http://www.sandandsteelfitness.com. I couldn't figure out how to resolve the conflict you mentioned above.

Which conflict are you running into right now?

I was able to find a work around by placing the shortcode into one of the GP Hooks. This took about 2 hours of experimentation.

It would have looked much more professional and easier... if the "replace default" search would have worked out of the box (it's an option Ajax Search Pro). You did such a nice job in making the search function looks professional ... it's a shame I have to hide it :-)

If you need a copy of the plugin to test or access to our staging site let me know.

Just to confirm, you were trying to implement it with our Navigation Search option?

It's likely possible to implement, but it might be a little tricky to design so it fits with the navigation.

I like what you did there - easy for the visitor to see and use :)

As far as I know, clicking on the magnifying glass would open a drop navigation search. Most likely we would need to move the search icon to the left so that the new search can fill the page.

I did see it in action because they have a minimal theme which only has a magnifying glass. So it should work, but it may require some design work (like you said) because the magnifying glass is in the menu.

At least we created a thread here for future users to see that Ajax Search will work with GP in the header pane. And now they have a model to copy :-)

Definitely - if you have a test/staging site you want to sort this out on, I'd be happy to help.

Let me know :)

Hi there,

might be easier to send the login details via the Account Issue form here.

https://generatepress.com/contact/

Just add the URL of this topic to the form so we can track.

This archived topic is closed to new replies.