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

    (@tijmensmit)

    If you don’t mind editing the wpsl-gmap.js file, then yes, but it does require you to be comfortable with JavaScript and make a couple of changes to the code. This however, will make it impossible to install any future updates.

    Thread Starter rjaskelton

    (@rjaskelton)

    I know no problem editing that and if this all goes fine I shouldn’t need any updates in the future. Can you point me in the right direction in that file?

    Plugin Author Tijmen Smit

    (@tijmensmit)

    Line 607 is where the check is made for the empty input field. So you need to change the code there to check if a category is selected instead.

    Once you made the changes, you do need to minify the file before it’s loaded on the front-end. Once you have the minified code, save it as wpsl-gmap.min.js.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Category Searching’ is closed to new replies.