예제 #1
0
"
                       title="<?php 
    _e('Remove from favorites', 'inspiry');
    ?>
">
                        <i class="fa fa-trash-o"></i>
                    </a>
                    <span class="loader"><i class="fa fa-spinner fa-spin"></i></span>
                </div>
                <?php 
}
/*
 * Display image gallery or thumbnail
 */
if ($inspiry_options['inspiry_property_card_gallery']) {
    inspiry_property_gallery($grid_property->get_post_ID(), intval($inspiry_options['inspiry_property_card_gallery_limit']));
} else {
    inspiry_thumbnail();
}
?>
        </div>

        <div class="title-and-meta">

            <header class="entry-header">
                <h3 class="entry-title"><a href="<?php 
the_permalink();
?>
" rel="bookmark"><?php 
the_title();
?>
예제 #2
0
        $even_odd_class = 'property-post-odd';
        if ($properties_count % 2 == 0) {
            $even_odd_class = 'property-post-even';
        }
        ?>
            <div class="col-xs-6 custom-col-xs-12">

                <article class="row hentry property-listing-home property-listing-one meta-item-half <?php 
        echo esc_attr($even_odd_class);
        ?>
">

                    <div class="property-thumbnail zero-horizontal-padding col-lg-6">
                        <?php 
        if ($gallery_enabled) {
            inspiry_property_gallery($home_property->get_post_ID(), $gallery_limit);
        } else {
            inspiry_thumbnail();
        }
        ?>
                    </div>
                    <!-- .property-thumbnail -->

                    <div class="property-description clearfix col-lg-6">
                        <header class="entry-header">
                            <h3 class="entry-title"><a href="<?php 
        the_permalink();
        ?>
" rel="bookmark"><?php 
        the_title();
        ?>