Ejemplo n.º 1
0
     echo balanceTags($img);
 } else {
     echo '<img width="800" height="600" alt="no-image" class="wp-post-image" src="' . bfi_thumb(get_template_directory_uri() . '/img/no-image.png', array('width' => 800, 'height' => 600)) . '">';
 }
 ?>
                     <h5 class="hover-title hover-hold">
                         <?php 
 the_title();
 ?>
                     </h5>
                 </a>
             </header>
             <div class="thumb-caption">
                 <div class="row">
                     <?php 
 if ($location = TravelHelper::locationHtml(get_the_ID())) {
     ?>
                     <div class="col-md-12">
                         <i class="fa fa-location-arrow"></i>
                         <?php 
     echo $location;
     ?>
                     </div>
                     <?php 
 }
 ?>
                     <?php 
 if ($price_html = STHoliday::get_price_html(false, false, ' <br> -')) {
     ?>
                     <div class="col-md-12">
                         <p class="mb0 text-darken">
        ?>
                      </ul>
                  <?php 
    }
    ?>
                   <h5 class="thumb-title">
                       <a href="<?php 
    the_permalink();
    ?>
" class="text-darken"><?php 
    the_title();
    ?>
</a>
                   </h5>
                   <?php 
    if ($address = TravelHelper::locationHtml(get_the_ID())) {
        ?>
                   <p class="mb0">
                       <small><i class="fa fa-map-marker"></i>
                           <?php 
        echo $address;
        ?>
                       </small>
                   </p>
                   <?php 
    }
    ?>
                   <p class="mb0 text-darken">
                <span class="text-lg lh1em text-color">
                    <?php 
    echo TravelHelper::format_money(STHotel::get_avg_price());
Ejemplo n.º 3
0
st_the_language('tour_max_people');
?>
: </span>
                <?php 
echo esc_html($max_people);
?>
            </div>

            <div class="package-info">
                <i class="fa fa-location-arrow"></i>
                <span class="head"><?php 
st_the_language('tour_location');
?>
: </span>
                <?php 
echo TravelHelper::locationHtml(get_the_ID());
?>
            </div>
            <div class="package-info pull-left">
                <div class="pull-left">
                    <i class="fa fa-star"></i>
                    <span class="head"><?php 
st_the_language('tour_rate');
?>
:</span>
                </div>
                <div  class="pull-left pl-5">
                    <ul class="icon-group booking-item-rating-stars">
                        <?php 
$avg = STReview::get_avg_rate();
echo TravelHelper::rate_to_string($avg);