<button class="btn btn-primary" type="submit" id="map-search-btn">Search <i class="fa fa-search"></i></button>
                        </span>
                      </div>
                      <div id="map-not-found" class="text-left text-white"><small>Address not found</small></div>
                      <div id="map-no-location" class="text-left text-white"><small>I apologize but we do not have a store or dropbox within 25 miles of you at this time</small></div>
                      </div>
                    </form>
                  </div>
                </div>

                <div id="map-legend"></div>
                <div id="map"></div>
                
                <?php 
echo '<script>';
echo 'gmapStoreData = ' . json_encode(get_map_data_stores()) . ';';
echo 'gmapDropboxData = ' . json_encode(get_map_data_dropboxes()) . ';';
echo '</script>';
?>
              </div>
            
             
            <div class="divide30"></div>
            <div id="find-store-content">
              <div class="container">
                <div class="text-center"><svg class="icon-svg"><use xlink:href="#color-search" /></svg></div>
                  <h2 class="text-center">Our stores</h2>
                  <div class="mini-container">
                    <p class="text-center fs-18">We have <span class="text-red"><?php 
echo count($stores);
?>
Example #2
0
            <div class="container">

                <div class="row">
                    <div class="col-md-2 col-sm-12">
                        <div class="footer-col">
                            <?php 
dynamic_sidebar('sidebar-1');
?>
                        </div>                        
                    </div><!--footer col-->
                    <div class="col-md-6 col-sm-12">
                      <div class="footer-col">
                          <h3>Our locations</h3>
                          
                          <?php 
$storesList = get_map_data_stores();
$counter = 0;
foreach ($storesList as $store) {
    ?>
                          <?php 
    if ($counter % 2 == 0) {
        ?>
                          <div class="row m-b-xs">
                          <?php 
    }
    ?>
                            <div class="col-xs-6">
                              <strong><i class="fa fa-map-marker"></i> <?php 
    echo $store['name'];
    ?>
</strong><br>