?> </div> <p class="booking-item-description"> <?php echo st_get_the_excerpt_max_charlength(100); ?> </p> </div> <div class="col-md-3"> <span class="booking-item-price-from"><?php st_the_language('from'); ?> </span> <?php echo STActivity::get_price_html(get_the_ID(), false, '<br>', 'booking-item-price'); ?> <a href="<?php the_permalink(); ?> "><span class="btn btn-primary btn_book"><?php st_the_language('book_now'); ?> </span></a> <?php if (!empty($count_sale)) { ?> <span class="box_sale sale_small btn-primary"> <?php echo esc_html($count_sale); ?>
</a> </h5> <?php $address = get_post_meta(get_the_ID(), 'address', true); ?> <?php if (!empty($address)) { echo '<p class="mb0"> <small><i class="fa fa-map-marker"></i>'; echo esc_html($address); echo ' </small> </p>'; } ?> <p class="mb0 text-darken"> <span class="text-lg lh1em text-color"> <?php echo STActivity::get_price_html(get_the_ID(), false, '<br>'); ?> </span> </p> </div> </div> </div> <?php } ?> </div>
$price = $info_price['price']; $price_sale = $info_price['price_old']; } ?> <div <?php if ($layout == 'layout2') { echo 'class="list-location-2"'; } ?> > <span class="booking-item-price-from"><?php st_the_language('from'); ?> </span> <?php echo STActivity::get_price_html($post_id, false, '<br>', 'booking-item-price'); ?> </div> <?php break; default: ?> <span class="booking-item-price-from"> <?php _e("avg", ST_TEXTDOMAIN); ?> </span> <span class="booking-item-price"> <?php $min_price = STHotel::get_avg_price($post_id); echo TravelHelper::format_money($min_price);