-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.php
39 lines (30 loc) · 1.2 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
<?php get_header(); ?>
<br class="clear" />
<div class="sixteen columns">
<div class="noresults p404">
<h1><?php _e( 'OOPS...', 'dronetv' ); ?></h1>
<p><?php _e( 'Sorry... but the page you requested could not be found. <br />Perhaps searching will help.', 'dronetv' ); ?></p>
<div id="not-found-form">
<?php get_search_form(); ?>
</div>
</div>
<br class="clear" />
<div class="row searchpage p404" style="display:none">
<h1 class="border-color">
<?php _e( 'Recent blog posts', 'dronetv' ); ?>
</h1>
<?php
$args = array(
'post_type' => 'post',
'cat'=>$cat,
'post_status' => array('publish',
'posts_per_page'=>1
)
);
query_posts( $args );
// GET ITEMS
get_template_part( 'loop', 'item' );
?>
</div>
</div>
<?php get_footer(); ?>