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

    (@tijmensmit)

    The only way to make it always show up is by using the wpsl_store_data filter.

    This filter makes it possible to insert data before or after the collected search results, but this does require you to be comfortable with code.

    Thread Starter Martin Kilarski

    (@kmarcink)

    I have tried using wpsl_store_data to add featured listings, but it didn’t work for me. Would you mind adding a section to the page about creating a featured store that shows how to do it? I am sure more people would find it also helpful.

    Yes!

    Plugin Author Tijmen Smit

    (@tijmensmit)

    If you remove the custom_store_data_sort function from the functions.php, and replace it with this code, then all featured locations should be on top, regardless of the set search radius.

    Thread Starter Martin Kilarski

    (@kmarcink)

    Thanks Tijmen. It solved my problem. Much appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Always list the featured stores’ is closed to new replies.