-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsearch.php
More file actions
executable file
·39 lines (23 loc) · 881 Bytes
/
search.php
File metadata and controls
executable file
·39 lines (23 loc) · 881 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
<?php
/**
* @package WordPress
* @subpackage HTML5-Reset-WordPress-Theme
* @since HTML5 Reset 2.0
*/
get_header(); ?>
<?php if (have_posts()) : ?>
<h2 class="pagetitle"><?php _e('Search Results','typesense'); ?></h2>
<?php while (have_posts()) : the_post(); ?>
<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
<h3 class="time-author"><time datetime="<?php echo date(DATE_W3C); ?>" pubdate class="updated"><?php the_time('F jS, Y') ?></time><?php _e(' in','typesense'); ?> <?php the_category(', ') ?></h3>
<div class="entry">
<?php the_excerpt(); ?>
</div>
</article>
<?php endwhile; ?>
<?php post_navigation(); ?>
<?php else : ?>
<h2 class="pagetitle"><?php _e('Nothing Found','typesense'); ?></h2>
<?php endif; ?>
<?php get_footer(); ?>