Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › issue with floating search icon › Reply To: issue with floating search icon
October 17, 2019 at 12:01 pm
#24356
Keymaster
Hi!
Thank you very much for your kind words.
1. Unfortunately this is not possible, the plugin can only access the local database.
2. Sure! You can either use a widget, that is visible sitewide, or you can also use a custom code with the plugin shortcode.
Try adding this custom code to the functions.php in your theme/child theme directory. Before editing, please make sure to have a full site back-up just in case!
add_action('wp_footer', 'asp_print_search_footer');
function asp_print_search_footer() {
echo do_shortcode('[wd_asp id=1']);
}
Make sure to have the correct shortcode within the do_shortcode function call on line 3.