-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.php
More file actions
42 lines (29 loc) · 1010 Bytes
/
Copy pathsearch.php
File metadata and controls
42 lines (29 loc) · 1010 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
<?php get_header(); ?>
<!-- SEARCH RESULTS PAGE -->
<div id="content-search" class="main-content">
<a href="<?php echo bloginfo('home'); ?>/archive" class="big-orange-button back-button">« Back to Archive</a>
<div id="search-content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post">
<h2><?php the_date(); ?> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
</div>
<div class="separator"></div>
<?php endwhile; else: ?>
<div class="error">
<h1>This page does not exist</h1>
<p>
The requested URL may have been entered incorrectly or removed.
</p>
</div>
<?php endif; ?>
<div id="pagination">
<div class="alignleft">
<?php previous_posts_link('« Newer Posts') ?>
</div>
<div class="alignright">
<?php next_posts_link('Older Posts »') ?>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>