PluginProbe
Property Hive / 1.4.53
Property Hive v1.4.53
2.3.0 2.2.6 2.2.5 2.2.4 2.2.3 2.2.2 1.4.46 1.4.47 1.4.48 1.4.49 1.4.5 1.4.50 1.4.51 1.4.52 1.4.53 1.4.54 1.4.55 1.4.56 1.4.57 1.4.58 1.4.59 1.4.6 1.4.60 1.4.61 1.4.62 All 260 releases
propertyhive / templates / content-single-property.php

content-single-property.php in Property Hive 1.4.53, at templates/content-single-property.php

66 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * The template for displaying property content in the single-property.php template
4 *
5 * Override this template by copying it to yourtheme/propertyhive/content-single-property.php
6 *
7 * @author PropertyHive
8 * @package PropertyHive/Templates
9 * @version 1.0.0
10 */
11
12 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
13
14 global $property;
15 ?>
16
17 <?php
18 if ( post_password_required() )
19 {
20 echo get_the_password_form();
21 return;
22 }
23 ?>
24
25 <div id="property-<?php the_ID(); ?>" <?php post_class(); ?>>
26
27 <?php
28 /**
29 * propertyhive_before_single_property_summary hook
30 *
31 * @hooked propertyhive_template_not_on_market - 5
32 * @hooked propertyhive_show_property_images - 10
33 */
34 do_action( 'propertyhive_before_single_property_summary' );
35 ?>
36
37 <div class="summary entry-summary">
38
39 <?php
40 /**
41 * propertyhive_single_property_summary hook
42 *
43 * @hooked propertyhive_template_single_title - 5
44 * @hooked propertyhive_template_single_floor_area - 7
45 * @hooked propertyhive_template_single_price - 10
46 * @hooked propertyhive_template_single_meta - 20
47 * @hooked propertyhive_template_single_sharing - 30
48 */
49 do_action( 'propertyhive_single_property_summary' );
50 ?>
51
52 </div><!-- .summary -->
53
54 <?php
55 /**
56 * propertyhive_after_single_property_summary hook
57 *
58 * @hooked propertyhive_template_single_actions - 10
59 * @hooked propertyhive_template_single_features - 20
60 * @hooked propertyhive_template_single_summary - 30
61 * @hooked propertyhive_template_single_description - 40
62 */
63 do_action( 'propertyhive_after_single_property_summary' );
64 ?>
65
66 </div><!-- #property-<?php the_ID(); ?> -->