示例#1
0
      * Title
      */
     get_template_part('partials/property/single/title');
 }
 /*
  * Content - contains description, additional details, features and video
  */
 get_template_part('partials/property/single/content');
 ?>
                             </article>
                             <?php 
 /*
  * Map
  */
 if ($inspiry_options['inspiry_property_map']) {
     $address = $inspiry_single_property->get_address();
     $location = $inspiry_single_property->get_location();
     if (!empty($address) && !empty($location)) {
         get_template_part('partials/property/single/map');
     }
 }
 /*
  * Attachments
  */
 if ($inspiry_options['inspiry_property_attachments']) {
     get_template_part('partials/property/single/attachments');
 }
 /*
  * Share this property
  */
 if ($inspiry_options['inspiry_property_share']) {
示例#2
0
        <div class="title-and-meta">

            <header class="entry-header">
                <h3 class="entry-title"><a href="<?php 
the_permalink();
?>
" rel="bookmark"><?php 
the_title();
?>
</a></h3>
                <div class="clearfix">
                    <?php 
/*
 * Address
 */
$grid_property_address = $grid_property->get_address();
if (!empty($grid_property_address)) {
    ?>
<p class="property-address"><i class="fa fa-map-marker"></i><?php 
    echo esc_html($grid_property_address);
    ?>
</p><?php 
}
?>
                    <div class="price-wrapper">
                        <span class="price"><?php 
$grid_property->price();
?>
</span>
                    </div>
                </div>
示例#3
0
$price_postfix = $list_property->get_price_postfix();
if (!empty($price_postfix)) {
    ?>
<span class="postfix-text"><?php 
    echo ' ' . $price_postfix;
    ?>
</span><?php 
}
?>
            </div>

            <?php 
/*
 * Address
 */
$list_property_address = $list_property->get_address();
if (!empty($list_property_address)) {
    ?>
<p class="property-address visible-lg"><i class="fa fa-map-marker"></i><?php 
    echo esc_html($list_property_address);
    ?>
</p><?php 
}
?>
        </header>

        <?php 
/*
 * Property meta
 */
inspiry_property_meta($list_property, array('exclude' => array('id')));