Plugin Author
ILLID
(@mihail-barinov)
Hi,
Please tell me – did you enable the ‘Seamless integration’ option from the plugin settings page? If no – please enable it and check search form one more time.
Regards
Hi @mihail-barinov,
Thanks for your fast response!
I had activated the seamless integration since the initial setup of the plugin.
At some point I might have deactivated (not sure why). And yesterday when I noticed this issue I reactivated it again.
So, once the seamless integration was back on, I saw this weird behavior I described above and looked for your advise.
Thanks!
Denise
Plugin Author
ILLID
(@mihail-barinov)
So you are talking about those weird styles – https://prnt.sc/1x35rsz ?
HI @mihail-barinov,
I did a quick recording to explain myself better.
quick video
1. I go to my homepage. Box search has this weird style (your plugin in use).
2. I look for a product and the search results are ok.
3. Then I move to another section and notice how the search box changes format (my theme style, your plugin not in use).
4. Repeat the same search.
5. Give me the error message.
6. Then changes the sytle to the weird one (your plugin in use)
7. Repeat the search and works now.
:/
No sure why the search box keeps switching between pages on my site creating this situation.
Thanks for your help!
Denise
Plugin Author
ILLID
(@mihail-barinov)
Looks like I understand what can cause such issue.
Please use following code snippet:
add_action('electro_mobile_header_v1', 'electro_mobile_header_v1');
function electro_mobile_header_v1() {
?>
<div class="site-search">
<?php
aws_get_search_form();
?>
</div>
<?php
}
remove_action( 'electro_mobile_header_v1', 'electro_handheld_header_search', 40 );
You need to add it somewhere outside the plugins folder. For example, inside functions.php file of your theme or use some plugin for adding code snippets.
Regards