Only 1 search result and several jquery errors.

Home Forums Store Locator Plus Only 1 search result and several jquery errors.

This topic contains 5 replies, has 3 voices, and was last updated by  Cici 8 months, 3 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #39489

    George
    Participant

    website: http://fabricosundomes.com/dealer-search/

    Issue:

    Only 1 result shows up even though all results are pushed back by plugin. Also a jquery error occurs in the slp.js file in this line:

    jQuery( ‘#slp_results_wrapper_’ + markerListNatural[markerNumber].id ).on(

    TypeError: jQuery(…).on is not a function

    Any assistance would be great.

    #39518

    Cici
    Keymaster

    Cant help without seeing your Plugin Environment per the Posting Guidelines. No idea what versions you are using

    #39646

    George
    Participant
    #39659

    Lance Cleveland
    Keymaster

    Something on your site is forcing jQuery 1.5.

    Store Locator Plus requires the WordPress standard jQuery , or at least version 1.7 or higher.

    One of the core contributors, a member of the plugin review team, and a very talented plugin developer describes the issue better than I can here:

    Why Loading Your Own jQuery is Irresponsible

     

    In short, the other developers are doing something that is very much frowned upon and not a good idea when building WordPress apps.

    #39665

    George
    Participant

    That was an interesting read and not surprising that many custom theme creators don’t follow standard procedures when creating themes. Given the read and your advice, I went in and viewed the source code of theme and found that it follows the standard Jquery (function) calls, but a Slider Plugin does not. When deactivating that particular plugin and loading up use google libraries plugin, it all works as needed. Looks like I’ll need to find a new slider plugin that doesn’t use its own version of jquery.

     

    Thanks again.

    #39705

    Cici
    Keymaster

    Hi George,

     

    Thanks for letting us know:

    If you like Store Locator Plus please leave a ★★★★★ rating on WordPress.org. A huge thank you from Lance and his fellow code geeks!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.