1
|
|
|
<?php |
2
|
|
|
/** |
3
|
|
|
* Theme Hook Alliance hook stub list. |
4
|
|
|
* |
5
|
|
|
* @package lsx |
6
|
|
|
* @version 1.0 |
7
|
|
|
* @since 1.0 |
8
|
|
|
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License, v2 (or newer) |
9
|
|
|
* |
10
|
|
|
* This program is free software; you can redistribute it and/or modify |
11
|
|
|
* it under the terms of the GNU General Public License as published by |
12
|
|
|
* the Free Software Foundation; either version 2 of the License, or |
13
|
|
|
* (at your option) any later version. |
14
|
|
|
* |
15
|
|
|
* This program is distributed in the hope thatt it will be useful, |
16
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
17
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
18
|
|
|
* GNU General Public License for more details. |
19
|
|
|
*/ |
20
|
|
|
|
21
|
|
|
|
22
|
|
|
/** |
23
|
|
|
* HTML <body> hooks |
24
|
|
|
* $lsx_supports[] = 'body'; |
25
|
|
|
*/ |
26
|
|
|
function lsx_body_top() { |
27
|
|
|
do_action( 'lsx_body_top' ); |
28
|
|
|
} |
29
|
|
|
|
30
|
|
|
function lsx_body_bottom() { |
31
|
|
|
do_action( 'lsx_body_bottom' ); |
32
|
|
|
} |
33
|
|
|
|
34
|
|
|
/** |
35
|
|
|
* HTML <head> hooks |
36
|
|
|
* |
37
|
|
|
* $lsx_supports[] = 'head'; |
38
|
|
|
*/ |
39
|
|
|
function lsx_head_top() { |
40
|
|
|
do_action( 'lsx_head_top' ); |
41
|
|
|
} |
42
|
|
|
|
43
|
|
|
function lsx_head_bottom() { |
44
|
|
|
do_action( 'lsx_head_bottom' ); |
45
|
|
|
} |
46
|
|
|
|
47
|
|
|
/** |
48
|
|
|
* Semantic <header> hooks |
49
|
|
|
* |
50
|
|
|
* $lsx_supports[] = 'header'; |
51
|
|
|
*/ |
52
|
|
|
function lsx_header_before() { |
53
|
|
|
do_action( 'lsx_header_before' ); |
54
|
|
|
} |
55
|
|
|
|
56
|
|
|
function lsx_header_after() { |
57
|
|
|
do_action( 'lsx_header_after' ); |
58
|
|
|
} |
59
|
|
|
|
60
|
|
|
function lsx_header_top() { |
61
|
|
|
do_action( 'lsx_header_top' ); |
62
|
|
|
} |
63
|
|
|
|
64
|
|
|
function lsx_header_bottom() { |
65
|
|
|
do_action( 'lsx_header_bottom' ); |
66
|
|
|
} |
67
|
|
|
|
68
|
|
|
function lsx_nav_before() { |
69
|
|
|
do_action( 'lsx_nav_before' ); |
70
|
|
|
} |
71
|
|
|
|
72
|
|
|
function lsx_nav_after() { |
73
|
|
|
do_action( 'lsx_nav_after' ); |
74
|
|
|
} |
75
|
|
|
|
76
|
|
|
/** |
77
|
|
|
* Semantic <content> hooks |
78
|
|
|
* |
79
|
|
|
* $lsx_supports[] = 'lsx_banner_content'; |
80
|
|
|
*/ |
81
|
|
|
|
82
|
|
|
function lsx_banner_content() { |
83
|
|
|
do_action( 'lsx_banner_content' ); |
84
|
|
|
} |
85
|
|
|
|
86
|
|
|
/** |
87
|
|
|
* Semantic <content> hooks |
88
|
|
|
* |
89
|
|
|
* $lsx_supports[] = 'content'; |
90
|
|
|
*/ |
91
|
|
|
function lsx_content_wrap_before() { |
92
|
|
|
do_action( 'lsx_content_wrap_before' ); |
93
|
|
|
} |
94
|
|
|
|
95
|
|
|
function lsx_content_wrap_after() { |
96
|
|
|
do_action( 'lsx_content_wrap_after' ); |
97
|
|
|
} |
98
|
|
|
|
99
|
|
|
function lsx_content_before() { |
100
|
|
|
do_action( 'lsx_content_before' ); |
101
|
|
|
} |
102
|
|
|
|
103
|
|
|
function lsx_content_after() { |
104
|
|
|
do_action( 'lsx_content_after' ); |
105
|
|
|
} |
106
|
|
|
|
107
|
|
|
function lsx_content_top() { |
108
|
|
|
do_action( 'lsx_content_top' ); |
109
|
|
|
} |
110
|
|
|
|
111
|
|
|
function lsx_content_bottom() { |
112
|
|
|
do_action( 'lsx_content_bottom' ); |
113
|
|
|
} |
114
|
|
|
|
115
|
|
|
function lsx_content_post_meta() { |
116
|
|
|
do_action( 'lsx_content_post_meta' ); |
117
|
|
|
} |
118
|
|
|
|
119
|
|
|
/** |
120
|
|
|
* Semantic <entry> hooks |
121
|
|
|
* |
122
|
|
|
* $lsx_supports[] = 'entry'; |
123
|
|
|
*/ |
124
|
|
|
function lsx_entry_before() { |
125
|
|
|
do_action( 'lsx_entry_before' ); |
126
|
|
|
} |
127
|
|
|
|
128
|
|
|
function lsx_entry_after() { |
129
|
|
|
do_action( 'lsx_entry_after' ); |
130
|
|
|
} |
131
|
|
|
|
132
|
|
|
function lsx_entry_top() { |
133
|
|
|
do_action( 'lsx_entry_top' ); |
134
|
|
|
} |
135
|
|
|
|
136
|
|
|
function lsx_entry_bottom() { |
137
|
|
|
do_action( 'lsx_entry_bottom' ); |
138
|
|
|
} |
139
|
|
|
|
140
|
|
|
/** |
141
|
|
|
* Comments block hooks |
142
|
|
|
* |
143
|
|
|
* $lsx_supports[] = 'comments'; |
144
|
|
|
*/ |
145
|
|
|
function lsx_comments_before() { |
146
|
|
|
do_action( 'lsx_comments_before' ); |
147
|
|
|
} |
148
|
|
|
|
149
|
|
|
function lsx_comments_after() { |
150
|
|
|
do_action( 'lsx_comments_after' ); |
151
|
|
|
} |
152
|
|
|
|
153
|
|
|
/** |
154
|
|
|
* Semantic <sidebar> hooks |
155
|
|
|
* |
156
|
|
|
* $lsx_supports[] = 'sidebar'; |
157
|
|
|
*/ |
158
|
|
|
function lsx_sidebars_before() { |
159
|
|
|
do_action( 'lsx_sidebars_before' ); |
160
|
|
|
} |
161
|
|
|
|
162
|
|
|
function lsx_sidebars_after() { |
163
|
|
|
do_action( 'lsx_sidebars_after' ); |
164
|
|
|
} |
165
|
|
|
|
166
|
|
|
function lsx_sidebar_top() { |
167
|
|
|
do_action( 'lsx_sidebar_top' ); |
168
|
|
|
} |
169
|
|
|
|
170
|
|
|
function lsx_sidebar_bottom() { |
171
|
|
|
do_action( 'lsx_sidebar_bottom' ); |
172
|
|
|
} |
173
|
|
|
|
174
|
|
|
/** |
175
|
|
|
* Semantic <footer> hooks |
176
|
|
|
* |
177
|
|
|
* $lsx_supports[] = 'footer'; |
178
|
|
|
*/ |
179
|
|
|
function lsx_footer_before() { |
180
|
|
|
do_action( 'lsx_footer_before' ); |
181
|
|
|
} |
182
|
|
|
|
183
|
|
|
function lsx_footer_after() { |
184
|
|
|
do_action( 'lsx_footer_after' ); |
185
|
|
|
} |
186
|
|
|
|
187
|
|
|
function lsx_footer_top() { |
188
|
|
|
do_action( 'lsx_footer_top' ); |
189
|
|
|
} |
190
|
|
|
|
191
|
|
|
function lsx_footer_bottom() { |
192
|
|
|
do_action( 'lsx_footer_bottom' ); |
193
|
|
|
} |