WordPress.org

Forums

WP Store Locator
[resolved] Result list in table (3 posts)

  1. jbmonteiro
    Member
    Posted 2 years ago #

    Hello,

    Is it possible to display the result list in table format?
    Basically the information "Name", "Address", "city" in a separated cells.

    Thank you very much!

    Best regards.

    https://wordpress.org/plugins/wp-store-locator/

  2. Tijmen Smit
    Member
    Plugin Author

    Posted 2 years ago #

    Not without modifying the template and the js output.

    You open the template you are using now in the /frontend/templates folder, then replace <ul></ul> with <table></table>. Then in the wpsl-gmap.js you would have to modify the 'storeHtml' function to adjust the output. And also set the target for the $storeList on line 520 to the correct table.

    There is more to it then what I wrote above, but that is the outline of files and functions where you need to modify the code to turn it into table output.

  3. jbmonteiro
    Member
    Posted 2 years ago #

    Thank you very much!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Store Locator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.