| 1 |
<?php |
| 2 |
|
| 3 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly |
| 4 |
|
| 5 |
$property = new PH_Property((int)$property_id); |
| 6 |
|
| 7 |
?> |
| 8 |
|
| 9 |
<div class="thumbnail"> |
| 10 |
<img src="<?php echo esc_url($property->get_main_photo_src()); ?>" alt=""> |
| 11 |
</div> |
| 12 |
|
| 13 |
<div class="details"> |
| 14 |
|
| 15 |
<div class="address"><a href="<?php echo esc_url(get_edit_post_link((int)$property_id)); ?>"><?php echo esc_html($property->get_formatted_summary_address()); ?></a></div> |
| 16 |
|
| 17 |
<div class="price"><?php echo $property->get_formatted_price(); ?></div> |
| 18 |
|
| 19 |
</div> |
| 20 |
|
| 21 |
<div style="clear:both"></div> |