store-listings.php 1.02 KB
<?php 
global $wpsl_settings, $wpsl;


$listing_template = '
<li data-store-id="<%= id %>"> ' . "\r\n";
$listing_template .= "\t\t" . '<table class="wpsl-store-location">' . "\r\n";
$listing_template .= '<tr><th></th><tr>
<tr class="results_row_top">

<td width="320" class="location">
<div class="address">
<span class="location_name" ><%= first_name %> <%= last_name %></span> </br>
 <span>' . wpsl_store_header_template('listing') . '</span>
    </br>
    <span class="slp_result_address slp_result_street"><%= address %></span>
    <span class="slp_result_address slp_result_street2"><% if ( address2 ) { %><%= address2 %><% } %></span>
    <span class="slp_result_address slp_result_citystatezip">' . wpsl_address_format_placeholders() . '</span>

            </div>' . wpsl_more_info_template() . '';

$listing_template .= "\t\t\t" . ' ';

$listing_template .=  '<% if ( email ) { %><a href="#" class="start_a_contact" data-id="<%= id %>" id="<%= id %>">CONTACT</a><% } %>';

$listing_template .= '</td>  </tr> </table> </li>' . "\r\n";