Keyword search is not working correctly

[ad_1]

The keyword search is not working correctly. It did show the result in the list correctly, but the map just reset to show all pins on the map.
I used the following shortcode for the map.

<?php echo do_shortcode('[gd_map width="100%" height="650px" maptype="ROADMAP" zoom="7" map_type="archive" post_settings="1" scrollwheel="1" post_type="gd_place" all_posts="1"]'); ?>

And for listing, the following shortcode is used.

<?php echo do_shortcode('[gd_loop layout="0"]'); ?>
<?php echo do_shortcode('[gd_loop_paging]'); ?>

Also is there any way to limit the map when no search to do to the specific region, like in the directory map but while searching it will work normally? I can’t find any setting for this.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer