| Server IP : 65.108.144.40 / Your IP : 216.73.217.165 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64 User : dev ( 1000) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/coopermain/wp-content/themes/cooper/wpsl/ |
Upload File : |
<?php
global $wpsl, $wpsl_settings;
ob_start();
if ($wpsl_settings['more_info']):
$more_info_url = '#';
if ($wpsl_settings['template_id'] == 'default' && $wpsl_settings['more_info_location'] == 'info window') {
$more_info_url = '#wpsl-search-wrap';
}
if ($wpsl_settings['more_info_location'] == 'store listings'): ?>
<p>
<a class="wpsl-store-details wpsl-store-listing" href="#wpsl-id-<%= id %>">
<?= esc_html($wpsl->i18n->get_translation('more_label', __('More info', 'wpsl'))) ?>
</a>
</p>
<div id="wpsl-id-<%= id %>" class="wpsl-more-info-listings">
<?php if( $wpsl_settings['show_contact_details'] ): ?>
<% if ( !_.isEmpty(phone) || !_.isEmpty(fax) || !_.isEmpty(email) ) { %>
<div class="wpsl-contact-details">
<% if ( phone ) { %>
<p class="text1415">
<?= esc_html($wpsl->i18n->get_translation('phone_label', __('Phone', 'wpsl'))) ?>
<span class="">: <%= formatPhoneNumber( phone ) %></span>
</p>
<% } %>
<% if ( fax ) { %>
<p class="text1415">
<?= esc_html($wpsl->i18n->get_translation('fax_label', __('Fax', 'wpsl'))) ?>
<span class="">: <%= fax %></span>
</p>
<% } %>
<% if ( email ) { %>
<p class="text1415">
<?= esc_html($wpsl->i18n->get_translation('email_label', __('Email', 'wpsl'))) ?>
<span class="">: <%= email %></span>
</p>
<% } %>
</div>
<% } %>
<?php else: ?>
<div class="talk-to-cta">
<h4>To talk to a tyre expert, call <br><a href="tel:1300756884">1300 756 884</a></h4>
</div>
<?php endif; ?>
<?php if (!$wpsl_settings['hide_hours']): ?>
<% if ( hours ) { %>
<div class="wpsl-store-hours">
<strong><?= esc_html($wpsl->i18n->get_translation('hours_label', __('Hours', 'wpsl'))) ?></strong>
<%= hours %>
</div>
<% } %>
<?php endif; ?>
<% if ( description ) { %>
<%= description %>
<% } %>
</div>
<?php endif ?>
<?php endif;
return ob_get_clean();
?>