-
Notifications
You must be signed in to change notification settings - Fork 7
/
404.php
40 lines (36 loc) · 978 Bytes
/
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
<?php
header( "HTTP/1.1 404 Not Found" );
get_header();
$tech_head_ad_code = of_get_option( 'header_ad_code', '' );
if ( !empty( $tech_head_ad_code ) ) {
?>
<div class="aligncenter">
<?php
$tech_header_ad_code = stripslashes( of_get_option( 'header_ad_code', '' ) );
echo do_shortcode( $tech_header_ad_code );
?>
</div>
<?php
$tech_ii++;
}
if ( of_get_option( 'home_sidebar', '1' ) == "1" )
tech_show_sidebar( "l" );
?>
<div id="content" class="<?php
if ( of_get_option( 'home_sidebar', '1' ) == "1" ) {
echo "narrow";
} else {
echo "wide";
}
?>column">
<h2 class="aligncenter"><?php _e( 'Error 404 - Not Found', 'techozoic' ) ?></h2>
<h3><?php _e( 'Browse Archives', 'techozoic' ) ?></h3>
<ul>
<?php wp_get_archives( 'type=monthly' ); ?>
</ul>
</div>
<?php
if ( of_get_option( 'home_sidebar', '1' ) == "1" )
tech_show_sidebar( "r" );
get_footer();
?>