# propertyhive/1.4.5/templates/search/summary.php

Property Hive, version 1.4.5. 21 lines.

- Page: https://pluginprobe.com/plugins/propertyhive/1.4.5/code/templates/search/summary.php
- Raw: https://pluginprobe.com/plugins/propertyhive/1.4.5/raw/templates/search/summary.php
- Modified: 2016-12-02T12:48:46+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.5/code/templates/search/summary.php#L10-L20`.

```php
<?php
/**
 * Loop Summary
 *
 * @author 		PropertyHive
 * @package 	PropertyHive/Templates
 * @version     1.0.0
 */

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

global $property;
?>
<div class="summary">

	<?php 
		echo substr(strip_tags($property->post_excerpt), 0, 300);
		if ( strlen(strip_tags($property->post_excerpt)) > 300 ) { echo '...'; } 
	?>

</div>
```
