# propertyhive/2.2.2/templates/single-property/summary-description.php

Property Hive, version 2.2.2. 28 lines.

- Page: https://pluginprobe.com/plugins/propertyhive/2.2.2/code/templates/single-property/summary-description.php
- Raw: https://pluginprobe.com/plugins/propertyhive/2.2.2/raw/templates/single-property/summary-description.php
- Modified: 2025-05-13T08:38:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/propertyhive/2.2.2/code/templates/single-property/summary-description.php#L10-L20`.

```php
<?php
/**
 * Single Property Summary Description
 *
 * @author      PropertyHive
 * @package     PropertyHive/Templates
 * @version     1.0.0
 */

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

global $post, $property;

$summary = get_the_excerpt();

if ( $summary != '' )
{
?>
<div class="summary">
    
    <h4><?php echo esc_html(__( 'Property Summary', 'propertyhive' )); ?></h4>
    
    <div class="summary-contents"><?php echo apply_filters('propertyhive_summary_description_nl2br', true) ? ph_nl2br($summary) : $summary; ?></div>

</div>
<?php
}
?>
```
