• Resolved surfbird0713

    (@surfbird0713)


    I am using the theme called Pratt and just installed this store locator plugin. I have a default location set, and entered 3 stores as a test. When I load the page, I see the search form, but no map below (I do see the map div in the code). When I enter a search, nothing happens. I see no errors in the console. I’ve only tested this locally so far. What am I doing wrong?

    https://www.ads-software.com/plugins/wp-store-locator/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    Have you tested it with another theme?

    If you open the footer.php from your current theme, does it include the following code?

    <?php wp_footer(); ?>

    If not, then add it just above this tag. Maybe that will fix it.

    </body>
    Plugin Author Tijmen Smit

    (@tijmensmit)

    If you view the source in the browser and search for ‘wpslSettings’ does it find anything?

    Thread Starter surfbird0713

    (@surfbird0713)

    Hi, thanks for your help! I added
    <?php wp_footer(); ?>
    as you suggested and it worked! Why does that make it work? I did not find ‘wpslSettings’ in the source code until I did that.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    The wp_footer is a hook used to add scripts in the footer, and if it’s not there the scripts won’t be added. It’s available in 99% of the themes, some themes don’t have it but it can be easily fixed.

    Hi, the map is not displaying only the searchable at the top can someone please help, the site is https://xcelproducts.co.uk/where-to-buy/

    Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Map not displaying, search features not working’ is closed to new replies.