コード例 #1
0
        ?>
                    </div>
                    <!-- .property-thumbnail -->

                    <div class="property-description">
                        <header class="entry-header">
                            <h4 class="entry-title"><a href="<?php 
        the_permalink();
        ?>
" rel="bookmark"><?php 
        echo get_inspiry_custom_excerpt(get_the_title(), 7);
        ?>
</a></h4>
                            <div class="price-and-status">
                                <span class="price"><?php 
        echo esc_html($home_property->get_price_without_postfix());
        ?>
</span>
                                <?php 
        $first_status_term = $home_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>
コード例 #2
0
ファイル: featured-two.php プロジェクト: Juni4567/mycashflow
        ?>
                    </div>
                    <!-- .property-thumbnail -->

                    <div class="property-description">
                        <header class="entry-header">
                            <h4 class="entry-title"><a href="<?php 
        the_permalink();
        ?>
" rel="bookmark"><?php 
        the_title();
        ?>
</a></h4>
                            <div class="price-and-status">
                                <span class="price"><?php 
        echo esc_html($featured_property->get_price_without_postfix());
        ?>
</span>
                                <?php 
        $first_status_term = $featured_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>