forked from Jonnyauk/Wonderflux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.php
45 lines (33 loc) · 1.45 KB
/
404.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
<?php
/**
* Wonderflux 404 template
*
* Customise this in your child theme by:
* - Using hooks and your own functions
* - Using the 'loop' template part 'loop-404.php' (location specific) or 'loop.php' (fallback if location specific file not available)
* - Using the 'loop-content' template part 'loop-content-404.php' or 'loop-content.php' (fallback if location specific file not available)
* - Copying this file to your child theme and customising - it will over-ride this file
*
* @package Wonderflux
*/
get_header();
wfmain_before_wrapper(); //WF display hook
wfmain_before_all_container(); //WF display hook
wfmain_before_404_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_404_content(); //WF display hook
get_template_part( 'loop', '404' );
wfmain_after_404_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_404_main_content(); //WF display hook
wfmain_after_all_main_content(); //WF display hook
echo apply_filters( 'wflux_layout_content_container_close', '</div>' );
wfmain_after_404_container(); //WF display hook
wfmain_after_all_container(); //WF display hook
wfmain_after_wrapper(); //WF display hook
get_footer();
?>