# propertyhive/1.4.52/templates/single-property/description.php

Property Hive, version 1.4.52. 28 lines.

- Page: https://pluginprobe.com/plugins/propertyhive/1.4.52/code/templates/single-property/description.php
- Raw: https://pluginprobe.com/plugins/propertyhive/1.4.52/raw/templates/single-property/description.php
- Modified: 2017-02-08T14:21:34+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/1.4.52/code/templates/single-property/description.php#L10-L20`.

```php
<?php
/**
 * Single Property Description, also known as the full description
 *
 * @author      PropertyHive
 * @package     PropertyHive/Templates
 * @version     1.0.0
 */

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

global $post, $property;

$description = $property->get_formatted_description();

if ( trim(strip_tags($description)) != '' )
{
?>
<div class="description">
    
    <h4><?php _e( 'Full Details', 'propertyhive' ); ?></h4>
    
    <?php echo $description; ?>

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