-
Notifications
You must be signed in to change notification settings - Fork 46
/
search.php
46 lines (34 loc) · 1.66 KB
/
search.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
<?php
/**
* Wonderflux search template
*
* Customise this in your child theme by:
* - Using the Wonderflux hooks in this file - there are file specific and general ones
* - Using the 'loop' template part 'loop-search.php' (location specific) or 'loop.php' (fallback if location specific file not available)
* - Using the 'loop-content' template part 'loop-content-search.php' or 'loop-content.php' (fallback if location specific file not available)
* - Copying this file to your child theme and amending - it will automatically be used instead of this file
* - IMPORTANT - if you do this, ensure you keep all Wonderflux hooks intact!
*
* @package Wonderflux
*/
get_header();
wfmain_before_wrapper(); //WF display hook
wfmain_before_all_container(); //WF display hook
wfmain_before_search_container(); //WF display hook
echo apply_filters( 'wflux_layout_content_container_open', '<div class="container" id="main-content">' );
// Main content
wfmain_before_all_content(); //WF display hook
wfmain_before_search_content(); //WF display hook
wfx_get_template_part( 'part=loop' ); // Setup all location aware template parts
wfmain_after_search_content(); //WF display hook
wfmain_after_all_content(); //WF display hook
wfx_get_sidebar(''); //WF WordPress get_sidebar function replacement
// Display hooks for after main content and sidebar
wfmain_after_search_main_content(); //WF display hook
wfmain_after_all_main_content(); //WF display hook
echo apply_filters( 'wflux_layout_content_container_close', '</div>' );
wfmain_after_search_container(); //WF display hook
wfmain_after_all_container(); //WF display hook
wfmain_after_wrapper(); //WF display hook
get_footer();
?>