WP Find Your Nearest
[resolved] jquery import breaks this (2 posts)

  1. fsuk
    Posted 4 years ago #

    Took me a while to figure this one out.
    Importing jQuery in the header of the template (for use elsewhere) breaks this plugin, resulting in the search results showing the spinner at the bottom of the page and no results being loaded.

    Otherwise nice plugin, only additional feature I would like is a view all map.



  2. Adam Sargant
    Posted 3 years ago #

    If I understand you correctly, then importing jquery in the header of the template is the wrong way to do it... in order to use jquery in wordpress you need to use the function wp_enqueue_script (which the plugin does)... wordpress then ensures that, however many times wp_enqueue_script is used, the script so enqueued is only loaded once.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Find Your Nearest
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.