@@ -20,14 +20,14 @@ discard block |
||
20 | 20 | |
21 | 21 | <?php lsx_content_top(); ?> |
22 | 22 | |
23 | - <?php if ( have_posts() ) : ?> |
|
23 | + <?php if (have_posts()) : ?> |
|
24 | 24 | |
25 | 25 | <?php |
26 | - while ( have_posts() ) : |
|
26 | + while (have_posts()) : |
|
27 | 27 | the_post(); |
28 | 28 | ?> |
29 | 29 | |
30 | - <?php get_template_part( 'partials/content', 'page' ); ?> |
|
30 | + <?php get_template_part('partials/content', 'page'); ?> |
|
31 | 31 | |
32 | 32 | <?php endwhile; ?> |
33 | 33 | |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | <?php lsx_content_bottom(); ?> |
37 | 37 | |
38 | 38 | <?php |
39 | - if ( comments_open() ) { |
|
39 | + if (comments_open()) { |
|
40 | 40 | comments_template(); |
41 | 41 | } |
42 | 42 | ?> |
@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | * @subpackage hooks |
7 | 7 | */ |
8 | 8 | |
9 | -if ( ! defined( 'ABSPATH' ) ) { |
|
9 | +if ( ! defined('ABSPATH')) { |
|
10 | 10 | exit; |
11 | 11 | } |
12 | 12 | |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | * This is the 1st action in the theme that fires after <head>. |
15 | 15 | */ |
16 | 16 | function lsx_head_top() { |
17 | - do_action( 'lsx_head_top' ); |
|
17 | + do_action('lsx_head_top'); |
|
18 | 18 | } |
19 | 19 | |
20 | 20 | /** |
@@ -23,14 +23,14 @@ discard block |
||
23 | 23 | * @return void |
24 | 24 | */ |
25 | 25 | function lsx_head_bottom() { |
26 | - do_action( 'lsx_head_bottom' ); |
|
26 | + do_action('lsx_head_bottom'); |
|
27 | 27 | } |
28 | 28 | |
29 | 29 | /** |
30 | 30 | * The 3rd action thta fires after <body> |
31 | 31 | */ |
32 | 32 | function lsx_body_top() { |
33 | - do_action( 'lsx_body_top' ); |
|
33 | + do_action('lsx_body_top'); |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | /** |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * $lsx_supports[] = 'header'; |
40 | 40 | */ |
41 | 41 | function lsx_header_before() { |
42 | - do_action( 'lsx_header_before' ); |
|
42 | + do_action('lsx_header_before'); |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | /** |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * @return void |
49 | 49 | */ |
50 | 50 | function lsx_header_top() { |
51 | - do_action( 'lsx_header_top' ); |
|
51 | + do_action('lsx_header_top'); |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | * @return void |
58 | 58 | */ |
59 | 59 | function lsx_nav_before() { |
60 | - do_action( 'lsx_nav_before' ); |
|
60 | + do_action('lsx_nav_before'); |
|
61 | 61 | } |
62 | 62 | |
63 | 63 | /** |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * @return void |
67 | 67 | */ |
68 | 68 | function lsx_nav_after() { |
69 | - do_action( 'lsx_nav_after' ); |
|
69 | + do_action('lsx_nav_after'); |
|
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | * @return void |
76 | 76 | */ |
77 | 77 | function lsx_header_bottom() { |
78 | - do_action( 'lsx_header_bottom' ); |
|
78 | + do_action('lsx_header_bottom'); |
|
79 | 79 | } |
80 | 80 | |
81 | 81 | /** |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | * @return void |
85 | 85 | */ |
86 | 86 | function lsx_header_after() { |
87 | - do_action( 'lsx_header_after' ); |
|
87 | + do_action('lsx_header_after'); |
|
88 | 88 | } |
89 | 89 | |
90 | 90 | /** |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | * @return void |
94 | 94 | */ |
95 | 95 | function lsx_header_wrap_after() { |
96 | - do_action( 'lsx_header_wrap_after' ); |
|
96 | + do_action('lsx_header_wrap_after'); |
|
97 | 97 | } |
98 | 98 | |
99 | 99 | /** |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | * @return void |
103 | 103 | */ |
104 | 104 | function lsx_body_bottom() { |
105 | - do_action( 'lsx_body_bottom' ); |
|
105 | + do_action('lsx_body_bottom'); |
|
106 | 106 | } |
107 | 107 | |
108 | 108 | /** |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | * $lsx_supports[] = 'banner'; |
112 | 112 | */ |
113 | 113 | function lsx_banner_content() { |
114 | - do_action( 'lsx_banner_content' ); |
|
114 | + do_action('lsx_banner_content'); |
|
115 | 115 | } |
116 | 116 | |
117 | 117 | /** |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | * @return void |
121 | 121 | */ |
122 | 122 | function lsx_banner_inner_top() { |
123 | - do_action( 'lsx_banner_inner_top' ); |
|
123 | + do_action('lsx_banner_inner_top'); |
|
124 | 124 | } |
125 | 125 | |
126 | 126 | /** |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | * @return void |
130 | 130 | */ |
131 | 131 | function lsx_banner_inner_bottom() { |
132 | - do_action( 'lsx_banner_inner_bottom' ); |
|
132 | + do_action('lsx_banner_inner_bottom'); |
|
133 | 133 | } |
134 | 134 | |
135 | 135 | /** |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | * $lsx_supports[] = 'global_header'; |
139 | 139 | */ |
140 | 140 | function lsx_global_header_inner_bottom() { |
141 | - do_action( 'lsx_global_header_inner_bottom' ); |
|
141 | + do_action('lsx_global_header_inner_bottom'); |
|
142 | 142 | } |
143 | 143 | |
144 | 144 | /** |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | * $lsx_supports[] = 'content'; |
148 | 148 | */ |
149 | 149 | function lsx_content_wrap_before() { |
150 | - do_action( 'lsx_content_wrap_before' ); |
|
150 | + do_action('lsx_content_wrap_before'); |
|
151 | 151 | } |
152 | 152 | |
153 | 153 | /** |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | * @return void |
157 | 157 | */ |
158 | 158 | function lsx_content_wrap_after() { |
159 | - do_action( 'lsx_content_wrap_after' ); |
|
159 | + do_action('lsx_content_wrap_after'); |
|
160 | 160 | } |
161 | 161 | |
162 | 162 | /** |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | * @return void |
166 | 166 | */ |
167 | 167 | function lsx_content_before() { |
168 | - do_action( 'lsx_content_before' ); |
|
168 | + do_action('lsx_content_before'); |
|
169 | 169 | } |
170 | 170 | |
171 | 171 | /** |
@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | * @return void |
175 | 175 | */ |
176 | 176 | function lsx_content_after() { |
177 | - do_action( 'lsx_content_after' ); |
|
177 | + do_action('lsx_content_after'); |
|
178 | 178 | } |
179 | 179 | |
180 | 180 | /** |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | * @return void |
184 | 184 | */ |
185 | 185 | function lsx_content_top() { |
186 | - do_action( 'lsx_content_top' ); |
|
186 | + do_action('lsx_content_top'); |
|
187 | 187 | } |
188 | 188 | |
189 | 189 | /** |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | * @return void |
193 | 193 | */ |
194 | 194 | function lsx_content_bottom() { |
195 | - do_action( 'lsx_content_bottom' ); |
|
195 | + do_action('lsx_content_bottom'); |
|
196 | 196 | } |
197 | 197 | |
198 | 198 | /** |
@@ -201,7 +201,7 @@ discard block |
||
201 | 201 | * @return void |
202 | 202 | */ |
203 | 203 | function lsx_content_post_tags() { |
204 | - do_action( 'lsx_content_post_tags' ); |
|
204 | + do_action('lsx_content_post_tags'); |
|
205 | 205 | } |
206 | 206 | |
207 | 207 | /** |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | * @return void |
211 | 211 | */ |
212 | 212 | function lsx_content_sharing() { |
213 | - do_action( 'lsx_content_sharing' ); |
|
213 | + do_action('lsx_content_sharing'); |
|
214 | 214 | } |
215 | 215 | |
216 | 216 | /** |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | * $lsx_supports[] = 'entry'; |
220 | 220 | */ |
221 | 221 | function lsx_entry_before() { |
222 | - do_action( 'lsx_entry_before' ); |
|
222 | + do_action('lsx_entry_before'); |
|
223 | 223 | } |
224 | 224 | |
225 | 225 | /** |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | * @return void |
229 | 229 | */ |
230 | 230 | function lsx_entry_after() { |
231 | - do_action( 'lsx_entry_after' ); |
|
231 | + do_action('lsx_entry_after'); |
|
232 | 232 | } |
233 | 233 | |
234 | 234 | /** |
@@ -237,7 +237,7 @@ discard block |
||
237 | 237 | * @return void |
238 | 238 | */ |
239 | 239 | function lsx_entry_top() { |
240 | - do_action( 'lsx_entry_top' ); |
|
240 | + do_action('lsx_entry_top'); |
|
241 | 241 | } |
242 | 242 | |
243 | 243 | /** |
@@ -246,14 +246,14 @@ discard block |
||
246 | 246 | * @return void |
247 | 247 | */ |
248 | 248 | function lsx_entry_bottom() { |
249 | - do_action( 'lsx_entry_bottom' ); |
|
249 | + do_action('lsx_entry_bottom'); |
|
250 | 250 | } |
251 | 251 | |
252 | 252 | /** |
253 | 253 | * Semantic <entry> hooks |
254 | 254 | */ |
255 | 255 | function lsx_post_meta_top() { |
256 | - do_action( 'lsx_post_meta_top' ); |
|
256 | + do_action('lsx_post_meta_top'); |
|
257 | 257 | } |
258 | 258 | |
259 | 259 | /** |
@@ -262,7 +262,7 @@ discard block |
||
262 | 262 | * $lsx_supports[] = 'entry'; |
263 | 263 | */ |
264 | 264 | function lsx_widget_entry_before() { |
265 | - do_action( 'lsx_widget_entry_before' ); |
|
265 | + do_action('lsx_widget_entry_before'); |
|
266 | 266 | } |
267 | 267 | |
268 | 268 | /** |
@@ -271,7 +271,7 @@ discard block |
||
271 | 271 | * @return void |
272 | 272 | */ |
273 | 273 | function lsx_widget_entry_after() { |
274 | - do_action( 'lsx_widget_entry_after' ); |
|
274 | + do_action('lsx_widget_entry_after'); |
|
275 | 275 | } |
276 | 276 | |
277 | 277 | /** |
@@ -280,7 +280,7 @@ discard block |
||
280 | 280 | * @return void |
281 | 281 | */ |
282 | 282 | function lsx_widget_entry_top() { |
283 | - do_action( 'lsx_widget_entry_top' ); |
|
283 | + do_action('lsx_widget_entry_top'); |
|
284 | 284 | } |
285 | 285 | |
286 | 286 | /** |
@@ -289,7 +289,7 @@ discard block |
||
289 | 289 | * @return void |
290 | 290 | */ |
291 | 291 | function lsx_widget_entry_bottom() { |
292 | - do_action( 'lsx_widget_entry_bottom' ); |
|
292 | + do_action('lsx_widget_entry_bottom'); |
|
293 | 293 | } |
294 | 294 | |
295 | 295 | /** |
@@ -298,7 +298,7 @@ discard block |
||
298 | 298 | * @return void |
299 | 299 | */ |
300 | 300 | function lsx_widget_entry_content_top() { |
301 | - do_action( 'lsx_widget_entry_content_top' ); |
|
301 | + do_action('lsx_widget_entry_content_top'); |
|
302 | 302 | } |
303 | 303 | |
304 | 304 | /** |
@@ -307,7 +307,7 @@ discard block |
||
307 | 307 | * @return void |
308 | 308 | */ |
309 | 309 | function lsx_widget_entry_content_bottom() { |
310 | - do_action( 'lsx_widget_entry_content_bottom' ); |
|
310 | + do_action('lsx_widget_entry_content_bottom'); |
|
311 | 311 | } |
312 | 312 | |
313 | 313 | /** |
@@ -316,7 +316,7 @@ discard block |
||
316 | 316 | * $lsx_supports[] = 'comments'; |
317 | 317 | */ |
318 | 318 | function lsx_comments_before() { |
319 | - do_action( 'lsx_comments_before' ); |
|
319 | + do_action('lsx_comments_before'); |
|
320 | 320 | } |
321 | 321 | |
322 | 322 | /** |
@@ -325,7 +325,7 @@ discard block |
||
325 | 325 | * @return void |
326 | 326 | */ |
327 | 327 | function lsx_comments_after() { |
328 | - do_action( 'lsx_comments_after' ); |
|
328 | + do_action('lsx_comments_after'); |
|
329 | 329 | } |
330 | 330 | |
331 | 331 | /** |
@@ -334,7 +334,7 @@ discard block |
||
334 | 334 | * $lsx_supports[] = 'sidebar'; |
335 | 335 | */ |
336 | 336 | function lsx_sidebars_before() { |
337 | - do_action( 'lsx_sidebars_before' ); |
|
337 | + do_action('lsx_sidebars_before'); |
|
338 | 338 | } |
339 | 339 | |
340 | 340 | /** |
@@ -343,7 +343,7 @@ discard block |
||
343 | 343 | * @return void |
344 | 344 | */ |
345 | 345 | function lsx_sidebars_after() { |
346 | - do_action( 'lsx_sidebars_after' ); |
|
346 | + do_action('lsx_sidebars_after'); |
|
347 | 347 | } |
348 | 348 | |
349 | 349 | /** |
@@ -352,7 +352,7 @@ discard block |
||
352 | 352 | * @return void |
353 | 353 | */ |
354 | 354 | function lsx_sidebar_top() { |
355 | - do_action( 'lsx_sidebar_top' ); |
|
355 | + do_action('lsx_sidebar_top'); |
|
356 | 356 | } |
357 | 357 | |
358 | 358 | /** |
@@ -361,7 +361,7 @@ discard block |
||
361 | 361 | * @return void |
362 | 362 | */ |
363 | 363 | function lsx_sidebar_bottom() { |
364 | - do_action( 'lsx_sidebar_bottom' ); |
|
364 | + do_action('lsx_sidebar_bottom'); |
|
365 | 365 | } |
366 | 366 | |
367 | 367 | /** |
@@ -370,7 +370,7 @@ discard block |
||
370 | 370 | * $lsx_supports[] = 'footer'; |
371 | 371 | */ |
372 | 372 | function lsx_footer_before() { |
373 | - do_action( 'lsx_footer_before' ); |
|
373 | + do_action('lsx_footer_before'); |
|
374 | 374 | } |
375 | 375 | |
376 | 376 | /** |
@@ -379,7 +379,7 @@ discard block |
||
379 | 379 | * @return void |
380 | 380 | */ |
381 | 381 | function lsx_footer_after() { |
382 | - do_action( 'lsx_footer_after' ); |
|
382 | + do_action('lsx_footer_after'); |
|
383 | 383 | } |
384 | 384 | |
385 | 385 | /** |
@@ -388,7 +388,7 @@ discard block |
||
388 | 388 | * @return void |
389 | 389 | */ |
390 | 390 | function lsx_footer_top() { |
391 | - do_action( 'lsx_footer_top' ); |
|
391 | + do_action('lsx_footer_top'); |
|
392 | 392 | } |
393 | 393 | |
394 | 394 | /** |
@@ -397,5 +397,5 @@ discard block |
||
397 | 397 | * @return void |
398 | 398 | */ |
399 | 399 | function lsx_footer_bottom() { |
400 | - do_action( 'lsx_footer_bottom' ); |
|
400 | + do_action('lsx_footer_bottom'); |
|
401 | 401 | } |