summary-description.php in Property Hive 1.4.57, at templates/single-property/summary-description.php
| 1 | <?php |
| 2 | /** |
| 3 | * Single Property Summary Description |
| 4 | * |
| 5 | * @author PropertyHive |
| 6 | * @package PropertyHive/Templates |
| 7 | * @version 1.0.0 |
| 8 | */ |
| 9 | |
| 10 | if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly |
| 11 | |
| 12 | global $post, $property; |
| 13 | |
| 14 | $summary = get_the_excerpt(); |
| 15 | |
| 16 | if ( $summary != '' ) |
| 17 | { |
| 18 | ?> |
| 19 | <div class="summary"> |
| 20 | |
| 21 | <h4><?php _e( 'Property Summary', 'propertyhive' ); ?></h4> |
| 22 | |
| 23 | <?php echo nl2br($summary); ?> |
| 24 | |
| 25 | </div> |
| 26 | <?php |
| 27 | } |
| 28 | ?> |