Site logo

Archived topic

Search bar and page customization

22 replies · Started by Dev on January 13, 2021

Viewing posts 16–23 of 23

Hello,

Okay, then is it possible to replace the theme search with that search plugin.

I mean in the secondary menu when we click the theme default search gets open.

So, can we replace that with the plugin I'm using?

Please let me know.

Hello,

I talked with the Plugin developer, and he says me

If it is not replaced automatically, then the theme has the search bar hard-coded and not using the get_search_form hook – in that case the opposite is true, they should be the ones knowing in which file is the header search bar is integrated. Please let me know if they sent you any details or instructions about that.
I am more than happy to help you with that, but I need to know which file has the header search hard-coded, so it can be replaced manually. I strognly recommed creating a child theme for that as well, so theme updates does not override any changes made to the theme files.

I think there are some other issues as well, as I tried to open the header search, but nothing is shown when I’m clicking it: https://www.youtube.com/watch?v=nPIOODxyv_w&ab_channel=ErnestMarcinko

Can you please tell me what detail he wants from you(the theme developer)?

Please let me know

Hello,

I've to tell him where is the file has the header search hard-coded?

What shall I tell him about that?

Hello,

The plugin developer provides me the below PHP function, and after that, it's working.

add_filter( 'generate_navigation_search_output', function() {
return sprintf(
'

',
do_shortcode( '[wpdreams_ajaxsearchpro id=2]' )
);
} )

But there is an issue with mobile view. Please see the below video.

https://share.getcloudapp.com/Z4u6vjE6

After clicking the search icon, two boxes are getting open. How can we remove one?

You will need to ask the Plugin developer - it looks the plugin is hooking itself inside itself...

This archived topic is closed to new replies.