This topic has 6 replies, 2 voices, and was last updated 7 years, 11 months ago ago by Jack Richardson
Hi,
where can I find the .php code that’s resposible for rendering the search modal ( http://imgur.com/Awoj4dR ) on mobile devices. I looked into header.php but wasn’t able to spot it.
Thank you!
Best regards
Hello,
Please clarify what you want to modify in mobile search form.
Best regards,
Jack Richardson.
Hi,
replacing
echo etheme_search(array());
with
echo do_shortcode(‘[wpdreams_ajaxsearchpro id=1]’);
Best regards
Hello,
You need edit header.php file in line 227.
Best regards,
Jack Richardson.
Hi,
thanks. Around line 227 there is this code in header.php
<?php if(class_exists('Woocommerce') && !etheme_get_option('just_catalog') && etheme_get_option('cart_widget')): ?>
<?php etheme_top_cart(); ?>
<?php endif ;?>
I don’t want to replace the cart, I’d like to replace the search function for the search modal popup ( -> http://imgur.com/Awoj4dR )
Would you please take another look?
Thank you!
Best regards
Hello,
Please update the theme to 3.0 version as the line was mentioned for this version.
Create a backup before update!
Best regards,
Jack Richardson.
You must be logged in to reply to this topic.Log in/Sign up