| 1 |
<?php |
| 2 |
/** |
| 3 |
* Single Property Description, also known as the full 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 |
$description = $property->get_formatted_description(); |
| 15 |
|
| 16 |
if ( trim(strip_tags($description)) != '' ) |
| 17 |
{ |
| 18 |
?> |
| 19 |
<div class="description"> |
| 20 |
|
| 21 |
<h4><?php echo esc_html(__( 'Full Details', 'propertyhive' )); ?></h4> |
| 22 |
|
| 23 |
<div class="description-contents"><?php echo $description; ?></div> |
| 24 |
|
| 25 |
</div> |
| 26 |
<?php |
| 27 |
} |
| 28 |
?> |