• Resolved alimirza13

    (@alimirza13)


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Stiofan

    (@stiofansisland)

    Remove the all_posts=”1″ attribute. If that does not help just let me know.

    Thanks,

    Stiofan

    Thread Starter alimirza13

    (@alimirza13)

    @stiofansisland I add that that to show all pins when performing category or location search to show all founded results pins by search and it is working fine. If total locations are 2000 and searched found 200 results then it shows all 200 pins only on map and the result count in list using [ gd_loop] is also 200 which is correct.

    But in case of (keyword search only) It did show correct result in the list but it show all locations pins like if total locations are 2000 then it shows all 2000 pins on map (Not correct) but the result count in list using [ gd_loop] is 200 which is correct.

    • This reply was modified 1 year, 10 months ago by alimirza13.
    Plugin Support alexrollin

    (@alexrollin)

    Hello,

    when all_posts=”1″ is active then there is no filtering possible with the map. That param is not suitable for the search archive. Please remove it and you should see improvements.

    If you need further help please open a support ticket here:?https://wpgeodirectory.com/support/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Keyword search is not working correctly’ is closed to new replies.