-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path404.php
More file actions
46 lines (34 loc) · 1.39 KB
/
Copy path404.php
File metadata and controls
46 lines (34 loc) · 1.39 KB
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
/* ------------------------------------------------------------------------- *
* 404 template
/* ------------------------------------------------------------------------- */
/**
* Filtered CSS classes
* ------
* section: grid-wrap
* div: grid-container grid-1 padding-small clearfix
* main: grid-col grid-4x-col site-404 clearfix
* ------
*/
// Header and Footer templates
$businessx_header_tmpl = apply_filters( 'businessx_header___tmpl', '' );
$businessx_footer_tmpl = apply_filters( 'businessx_footer___tmpl', '' );
// Header
get_header( $businessx_header_tmpl );
// Title
businessx_get_heading_templ( '404', 'full-width' );
?>
<section role="main" id="content" class="<?php businessx_occ( 'businessx_404___section_classes' ); ?>">
<?php do_action( 'businessx_404__inner_sec_top' ); ?>
<div class="<?php businessx_occ( 'businessx_404___container_classes' ); ?>">
<?php do_action( 'businessx_404__inner_before' ); ?>
<main id="main" class="<?php businessx_occ( 'businessx_404___main_classes' ); ?>" role="main">
<p class="alert alert-warning ta-center"><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'businessx' ); ?></p>
</main>
<?php do_action( 'businessx_404__inner_after' ); ?>
</div>
<?php do_action( 'businessx_404__inner_sec_bottom' ); ?>
</section>
<?php
// Footer
get_footer( $businessx_footer_tmpl ); ?>