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

    (@tijmensmit)

    It’s possible to show number of results, but this does require you to be comfortable with code.

    Let me know if you are, and I can explain how to make it work.

    Thread Starter yallahweb

    (@yallahweb)

    I can do it if I have clear explanations. Otherwise I’m working with a developer who can do the job.
    Thanks!

    Plugin Author Tijmen Smit

    (@tijmensmit)

    You have to load a custom JS file with wp_enqueue_script from the functions.php inside your active theme folder.

    In that JS file use ajaxComplete to run your code. ajaxComplete makes sure it won’t run until after the search has finished. Use jQuery to count the number of li items inside the #wpsl-stores, and that number is the number of results.

    You can then dynamically insert that number wherever you want.

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