Esempio n. 1
0
        ?>
</span><?php 
        $first_status_term = $similar_property->get_taxonomy_first_term('property-status', 'all');
        if ($first_status_term) {
            ?>
<a href="<?php 
            echo esc_url(get_term_link($first_status_term));
            ?>
"><span class="property-status-tag"><?php 
            echo esc_html($first_status_term->name);
            ?>
</span></a><?php 
        }
        ?>
                                </div>
                            </header>
                            <?php 
        inspiry_property_meta($similar_property, array('exclude' => array('id', 'status')));
        ?>
                        </div>

                    </article>
                    <?php 
    }
    ?>
            </div>
        </div>
    </section>
    <?php 
}
wp_reset_postdata();
Esempio n. 2
0
                echo esc_url(get_term_link($first_status_term));
                ?>
">
                                                        <span class="property-status-tag"><?php 
                echo esc_html($first_status_term->name);
                ?>
</span>
                                                    </a>
                                                    <?php 
            }
            ?>
                                            </div>
                                        </div>
                                        <div class="zero-padding visible-lg col-lg-6">
                                            <?php 
            inspiry_property_meta($slider_property, apply_filters('inspiry_slider_meta_exclude', array('exclude' => array('id', 'status', 'type'))));
            ?>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <a href="<?php 
            the_permalink();
            ?>
">
                            <img src="<?php 
            echo esc_url($slider_image);
            ?>
" alt="<?php 
            the_title();
Esempio n. 3
0
                                    <a href="<?php 
            echo esc_url(get_term_link($first_status_term));
            ?>
">
                                        <span class="property-status-tag"><?php 
            echo esc_html($first_status_term->name);
            ?>
</span>
                                    </a>
                                    <?php 
        }
        ?>
                            </div>
                        </header>
                        <?php 
        inspiry_property_meta($home_property, apply_filters('inspiry_home_two_properties_meta_exclude', array('exclude' => array('id', 'status', 'type'))));
        ?>
                    </div>
                    <!-- .property-description -->

                </article>
            </div>
            <?php 
        /*
            if ( $number_of_properties > $properties_count ) {
                if ( 0 == ( $properties_count % $columns_count ) ) {
                     ?></div><div class="row zero-horizontal-margin"><?php
                }
            }
        */
        $properties_count++;
Esempio n. 4
0
            echo esc_url(get_term_link($first_status_term));
            ?>
">
                                        <span class="property-status-tag"><?php 
            echo esc_html($first_status_term->name);
            ?>
</span>
                                    </a>
                                    <?php 
        }
        ?>
                            </div>
                        </header>

                        <?php 
        inspiry_property_meta($featured_property, array('exclude' => array('id', 'status')));
        ?>

                    </div>
                    <!-- .property-description -->

                </article>

            </div><!-- .featured-properties-item -->
            <?php 
        if ($number_of_featured_properties > $properties_count) {
            if (0 == $properties_count % $columns_count) {
                ?>
</div><div class="row"><?php 
            }
        }
}
?>

    </div>
    <!-- .property-thumbnail -->

    <div class="title-and-meta col-sm-7">

        <header class="entry-header">
            <h3 class="entry-title"><a href="<?php 
the_permalink();
?>
" rel="bookmark"><?php 
the_title();
?>
</a></h3>
        </header>

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

    </div>
    <!-- .title-and-meta -->

</article><!-- .property-listing-simple-2 -->

Esempio n. 6
0
<?php

global $inspiry_options;
global $inspiry_single_property;
?>
<div class="single-property-wrapper">
    <header class="entry-header single-property-header">
        <?php 
if ($inspiry_options['inspiry_property_header_variation'] == 2 || $inspiry_options['inspiry_property_header_variation'] == 3) {
    get_template_part('partials/property/single/favorite-and-print');
}
?>
        <h1 class="entry-title single-property-title"><?php 
the_title();
?>
</h1>
        <span class="single-property-price price"><?php 
$inspiry_single_property->price();
?>
</span>
    </header>
    <?php 
inspiry_property_meta($inspiry_single_property);
?>
</div>
<?php 
if ($inspiry_options['inspiry_property_header_variation'] == 1) {
    get_template_part('partials/property/single/favorite-and-print');
}
Esempio n. 7
0
</span>
                    </div>
                    <?php 
        inspiry_thumbnail('inspiry-grid-thumbnail');
        ?>
                </div>

                <div class="title-and-meta col-sm-7">
                    <header class="entry-header">
                        <h3 class="entry-title"><a href="<?php 
        the_permalink();
        ?>
" rel="bookmark"><?php 
        the_title();
        ?>
</a></h3>
                    </header>
                    <?php 
        inspiry_property_meta($child_property, array('exclude' => array('id')));
        ?>
                </div>

            </article>
            <?php 
    }
    // reset to default query
    wp_reset_postdata();
    ?>
    </div><!-- .sub-properties -->
    <?php 
}
Esempio n. 8
0
                                    <a href="<?php 
            echo esc_url(get_term_link($first_status_term));
            ?>
">
                                        <span class="property-status-tag"><?php 
            echo esc_html($first_status_term->name);
            ?>
</span>
                                    </a>
                                    <?php 
        }
        ?>
                            </div>
                        </header>
                        <?php 
        inspiry_property_meta($home_property, array('exclude' => array('id', 'status', 'type')));
        ?>
                    </div>
                    <!-- .property-description -->

                </article>
                <!-- .property-post-odd -->

            </div>
            <?php 
        /*
         * odd and even rows
         */
        if ($number_of_properties > $properties_count) {
            if (0 == $properties_count % 4) {
                ?>