Viewing 10 replies - 1 through 10 (of 10 total)
  • I am having the same issue with my site..besides that the locator works very well

    Plugin Author Tijmen Smit

    (@tijmensmit)

    Can you share the url of the site? If not, email it to info at tijmensmit.com, and I will have a look.

    Thread Starter wpuser

    (@forinn)

    I have sent you an email with the link πŸ™‚

    Hello Tijmen,

    Same issue here; I’ll send you an email with the link.

    Thread Starter wpuser

    (@forinn)

    My problem is solved. Thank you!

    I don’t know if my issue is the same as yours Rene, but my solution was this:
    /wp-content/themes/[theme]/templates/foooter.php

    add:
    <script>
    jQuery( document ).ready( function( $ ) {

    if ( $( “#wpsl-radius .wpsl-dropdown” ).length > 1 ) {
    $( “#wpsl-radius .wpsl-dropdown” ).eq(0).remove();
    }

    if ( $( “#wpsl-results .wpsl-dropdown” ).length > 1 ) {
    $( “#wpsl-results .wpsl-dropdown” ).eq(0).remove();
    }
    });
    </script>

    at the bottom of the file.

    Thanks, when loading the page the dropdowns look good (shown as single and with the right width) at first, but as loading finishes they still divide into separate dropdowns…

    Thread Starter wpuser

    (@forinn)

    I don’t have that same issue, so I think Tijmen will figure it out for you πŸ˜‰ Good luck!

    Thanks for your help πŸ™‚

    boki84

    (@boki84)

    go to this file

    wp-content/plugins/wp-store-locator/frontend/class-frontend.php

    find ‘enableStyledDropdowns’ => apply_filters( ‘wpsl_enable_styled_dropdowns’, true )

    and change it to

    ‘enableStyledDropdowns’ => apply_filters( ‘wpsl_enable_styled_dropdowns’, false )

    That’ll do the trick

    Plugin Author Tijmen Smit

    (@tijmensmit)

    There is no need to modify the core files to disable the styling of the dropdowns.

    Adding this code to the functions.php will achieve the same result.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Double dropdowns results and radius’ is closed to new replies.