/
content-listing-single.php
130 lines (110 loc) · 3.99 KB
/
content-listing-single.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?php
/**
* Single Property Template: Expanded
*
* @package EPL
* @subpackage Templates/Content
* @copyright Copyright (c) 2020, Merv Barrett
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
* @since 1.0
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div id="post-<?php the_ID(); ?>" <?php post_class( 'epl-listing-single epl-property-single view-expanded' ); ?>>
<div class="entry-header epl-header epl-clearfix">
<div class="title-meta-wrapper">
<div class="entry-col epl-property-details property-details">
<?php do_action( 'epl_property_before_title' ); ?>
<h1 class="entry-title">
<?php do_action( 'epl_property_title' ); ?>
</h1>
<?php do_action( 'epl_property_after_title' ); ?>
</div>
<div class="entry-col property-pricing-details">
<?php do_action( 'epl_property_price_before' ); ?>
<div class="epl-property-meta property-meta pricing">
<?php do_action( 'epl_property_price' ); ?>
</div>
<?php do_action( 'epl_property_price_after' ); ?>
<div class="epl-property-featured-icons property-feature-icons epl-clearfix">
<?php do_action( 'epl_property_icons' ); ?>
</div>
</div>
</div>
</div>
<div class="entry-content epl-content epl-clearfix">
<?php do_action( 'epl_property_featured_image' ); ?>
<?php do_action( 'epl_buttons_single_property' ); ?>
<div class="epl-tab-wrapper tab-wrapper">
<div class="epl-tab-section epl-section-property-details">
<h5 class="epl-tab-title">
<?php
$title_details = apply_filters( 'property_tab_title', __( 'Property Details', 'easy-property-listings' ) );
echo esc_html( $title_details );
?>
</h5>
<div class="epl-tab-content tab-content">
<div class="epl-property-address property-details">
<h3 class="epl-tab-address tab-address">
<?php do_action( 'epl_property_address' ); ?>
</h3>
<?php do_action( 'epl_property_land_category' ); ?>
<?php do_action( 'epl_property_price_content' ); ?>
<?php do_action( 'epl_property_commercial_category' ); ?>
</div>
<div class="epl-property-meta property-meta">
<?php do_action( 'epl_property_available_dates' ); // meant for rent only. ?>
<?php do_action( 'epl_property_inspection_times' ); ?>
</div>
</div>
</div>
<div class="epl-tab-section epl-section-description">
<h5 class="epl-tab-title">
<?php
$title_desc = apply_filters( 'epl_property_tab_title_description', __( 'Description', 'easy-property-listings' ) );
echo esc_html( $title_desc );
?>
</h5>
<div class="epl-tab-content tab-content">
<!-- heading -->
<h2 class="entry-title"><?php do_action( 'epl_property_heading' ); ?></h2>
<h3 class="secondary-heading"><?php do_action( 'epl_property_secondary_heading' ); ?></h3>
<?php
do_action( 'epl_property_content_before' );
do_action( 'epl_property_the_content' );
do_action( 'epl_property_content_after' ); // For Extension Support.
?>
</div>
</div>
<?php do_action( 'epl_property_tab_section_before' ); ?>
<div class="epl-tab-section epl-tab-section-features">
<?php do_action( 'epl_property_tab_section' ); ?>
</div>
<?php do_action( 'epl_property_tab_section_after' ); ?>
<?php do_action( 'epl_property_gallery' ); ?>
<?php do_action( 'epl_property_map' ); ?>
<?php do_action( 'epl_single_extensions' ); ?>
<?php do_action( 'epl_single_before_author_box' ); ?>
<?php do_action( 'epl_single_author' ); ?>
<?php do_action( 'epl_single_after_author_box' ); ?>
</div>
</div>
<!-- categories, tags and comments -->
<div class="entry-footer epl-footer epl-clearfix">
<div class="entry-meta">
<?php
wp_link_pages(
array(
'before' => '<div class="entry-utility entry-pages">' . __( 'Pages:', 'easy-property-listings' ) . '',
'after' => '</div>',
'next_or_number' => 'number',
)
);
?>
</div>
</div>
</div>
<!-- end property -->