-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent.php
More file actions
executable file
·98 lines (73 loc) · 2.85 KB
/
Copy pathcontent.php
File metadata and controls
executable file
·98 lines (73 loc) · 2.85 KB
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
<?php
global $htmlvar_name;
do_action('directory_before_post_loop');
/* Hook to display before image */
do_action('directory_before_category_page_image');
/* Hook to Display Listing Image */
do_action('directory_category_page_image');
/* Hook to Display After Image */
do_action('directory_after_category_page_image');
/* Before Entry Div */
do_action('directory_before_post_entry'); ?>
<!-- Entry Start -->
<div class="entry">
<?php
do_action('tmpl_open_entry');
/* do action for before the post title.*/
do_action('directory_before_post_title');
do_action('templ_before_title_'.$post->post_type); ?>
<div class="<?php echo $post->post_type; ?>-wrapper">
<!-- Entry title start -->
<div class="entry-title-wrapper">
<?php
/* do action for display the single post title */
do_action('templ_post_title');
/* do action for display the price */
do_action('templ_'.$post->post_type.'_post_title');
/* do action for display the single post title */
do_action('tevolution_title_text');
?>
</div>
<?php do_action('directory_after_post_title'); /* do action for after the post title.*/?>
<!-- Entry title end -->
<!-- Entry details start -->
<div class="entry-details">
<?php
/* Hook to get Entry details - Like address,phone number or any static field */
$post_types = $_REQUEST['custom_post'];
$exclide_post_type = array('listing','event','property','classified');
if(!in_array($post_types,$exclide_post_type)){
$post_types = 'listing';
}
echo do_action($post_types.'_post_info'); ?>
</div>
<!-- Entry details end -->
</div>
<!--Start Post Content -->
<?php /* Hook for before post content . */
do_action('directory_before_post_content');
/* Hook to display post content . */
do_action('templ_taxonomy_content');
/* Hook for after the post content. */
do_action('directory_after_post_content');
?>
<!-- End Post Content -->
<?php
/* Hook for before listing categories */
do_action('directory_before_taxonomies');
/* Display listing categories */
do_action('templ_the_taxonomies');
/* Hook to display the listing comments, add to favourite and pinpoint */
do_action('directory_after_taxonomies');
do_action('tmpl_before_entry_end');
?>
</div>
<!-- Entry End -->
<?php
if(!is_author())
{
apply_filters( 'tmpl-after-entry',supreme_sidebar_entry() ); // Loads the sidebar-entry
}
do_action('directory_after_post_entry');?>
<?php do_action('directory_after_post_loop'); ?>
<!-- .entry-header -->