WordPress.org

Ready to get started?Download WordPress

Forums

Store Locator Plus
Editing the display results. Need help with "description" (4 posts)

  1. krashx6
    Member
    Posted 1 year ago #

    Currently im trying to edit the css to adjust colors and layout a little to my sites theme. I see I can adjust layout a great bit in... storelocatorplus-ui_class.php But I have 1 small problem.

    The 1st column displays the location Name and then distance right under it. I'm trying to make it display the Name, then description, then distance?

    Current Format:
    Name
    Miles

    '<td class="results_row_left_column" id="slp_left_cell_{15}">'.
    '<span class="location_name">{0}</span>'.
    '<span class="location_distance"><br/>{1} {2}</span>'.
    '</td>'  .

    What I want:
    Name
    Description
    Miles

    What do I need to add to make it display whatever is entered in the "Description" box in the Manage Locations admin panel?

    '<td class="results_row_left_column" id="slp_left_cell_{15}">'.
    '<span class="location_name">{0}</span>'.
    '<span class="location_description">     ???     </span>'.
    '<span class="location_distance"><br/>{1} {2}</span>'.
    '</td>'  .

    Anyone have any ideas?

    http://wordpress.org/extend/plugins/store-locator-le/

  2. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    Did you look at the Enhanced Results add-on? No coding required, just put in the format strings in the admin UI.

    http://www.charlestonsw.com/support/documentation/store-locator-plus/enhanced-results-add-on/

  3. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    All support for SLP is moving to the CSA website. Posts on that site now take precedence and get my attention first. Visit the new support forum here:
    http://www.charlestonsw.com/forums/forum/support-2/

  4. girdy74
    Member
    Posted 11 months ago #

    krashx6 -

    This is what I added:
    '<span class="location_description">{18.description}</span>'.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.