forked from GeoDirectory/geodirectory
-
Notifications
You must be signed in to change notification settings - Fork 1
/
geodir-listing.php
96 lines (78 loc) · 2.48 KB
/
geodir-listing.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
<?php
/**
* Template for the listings (category) page
*
* You can make most changes via hooks or see the link below for info on how to replace the template in your theme.
*
* @link http://docs.wpgeodirectory.com/customizing-geodirectory-templates/
* @since 1.0.0
* @package GeoDirectory
*/
// call header
get_header();
###### WRAPPER OPEN ######
/** This action is documented in geodirectory-templates/add-listing.php */
do_action('geodir_wrapper_open', 'listings-page', 'geodir-wrapper', '');
###### TOP CONTENT ######
/** This action is documented in geodirectory-templates/add-listing.php */
do_action('geodir_top_content', 'listings-page');
/**
* Calls the top section widget area and the breadcrumbs on the listings page.
*
* @since 1.1.0
*/
do_action('geodir_listings_before_main_content');
/** This action is documented in geodirectory-templates/add-listing.php */
do_action('geodir_before_main_content', 'listings-page');
/**
* Adds the title to the listings page.
*
* This action adds the title to the listings page.
*
* @since 1.1.0
*/
do_action('geodir_listings_page_title');
/**
* Called after the page title, can add a description to the page.
*
* @since 1.1.0
*/
do_action('geodir_listings_page_description');
###### SIDEBAR ######
/**
* Adds the listings page left sidebar to the listings template page if active.
*
* @since 1.1.0
*/
do_action('geodir_listings_sidebar_left');
###### MAIN CONTENT WRAPPERS OPEN ######
/** This action is documented in geodirectory-templates/add-listing.php */
do_action('geodir_wrapper_content_open', 'listings-page', 'geodir-wrapper-content', '');
###### MAIN CONTENT ######
/**
* Calls the listings page main content area on the listings template page.
*
* @since 1.1.0
*/
do_action('geodir_listings_content');
###### MAIN CONTENT WRAPPERS CLOSE ######
/** This action is documented in geodirectory-templates/add-listing.php */
do_action('geodir_wrapper_content_close', 'listings-page');
###### SIDEBAR ######
/**
* Adds the listings page right sidebar to the listings template page if active.
*
* @since 1.1.0
*/
do_action('geodir_listings_sidebar_right');
###### WRAPPER CLOSE ######
/** This action is documented in geodirectory-templates/add-listing.php */
do_action('geodir_wrapper_close', 'listings-page');
###### BOTTOM SECTION WIDGET AREA ######
/**
* Adds the listings page bottom widget area to the listings template page if active.
*
* @since 1.1.0
*/
do_action('geodir_sidebar_listings_bottom_section');
get_footer();