PluginProbe
Property Hive / 2.3.0
Property Hive v2.3.0
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 / single-property.php

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

40 lines 1.0 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 a single property.
4 *
5 * Override this template by copying it to yourtheme/propertyhive/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 get_header( 'propertyhive' ); ?>
15
16 <?php
17 /**
18 * propertyhive_before_main_content hook
19 *
20 * @hooked propertyhive_output_content_wrapper - 10 (outputs opening divs for the content)
21 */
22 do_action( 'propertyhive_before_main_content' );
23 ?>
24
25 <?php while ( have_posts() ) : the_post(); ?>
26
27 <?php ph_get_template_part( 'content', 'single-property' ); ?>
28
29 <?php endwhile; // end of the loop. ?>
30
31 <?php
32 /**
33 * propertyhive_after_main_content hook
34 *
35 * @hooked propertyhive_output_content_wrapper_end - 10 (outputs closing divs for the content)
36 */
37 do_action( 'propertyhive_after_main_content' );
38 ?>
39
40 <?php get_footer( 'propertyhive' ); ?>