WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jbmonteiro
    Member
    Posted 2 months 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 months 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 1 month ago #

    Thank you very much!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.