forked from murtaugh/HTML5-Reset-WordPress-Theme
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.php
More file actions
43 lines (25 loc) · 691 Bytes
/
Copy pathsearch.php
File metadata and controls
43 lines (25 loc) · 691 Bytes
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
<?php
/**
* @package WordPress
* @subpackage HTML5-Reset-WordPress-Theme
* @since HTML5 Reset 2.0
*/
get_header(); ?>
<?php if (have_posts()) : ?>
<h2><?php _e('Search Results','html5reset'); ?></h2>
<?php post_navigation(); ?>
<?php while (have_posts()) : the_post(); ?>
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
<h2><?php the_title(); ?></h2>
<?php posted_on(); ?>
<div class="entry">
<?php the_excerpt(); ?>
</div>
</article>
<?php endwhile; ?>
<?php post_navigation(); ?>
<?php else : ?>
<h2><?php _e('Nothing Found','html5reset'); ?></h2>
<?php endif; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>