-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.php
42 lines (34 loc) · 867 Bytes
/
search.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
41
42
<?php
global $soup;
get_header();
?>
<div id="content">
<div id="contentHeadA"><section>
<div id="contentHead"><header>
<<?php echo $soup->pageNameTag; ?> id="pageName">
Search Results for <span><?php the_search_query() ?></span>
</<?php echo $soup->pageNameTag; ?>>
</header></div>
<div id="contentA" class="hfeed">
<?php
while ( have_posts() ) :
the_post();
$soup->writeSearchPost($post);
endwhile;
?>
<div id="page-nav" class="page-nav nav">
<div class="page-nav-older"><?php next_posts_link('Older posts') ?></div>
<div class="page-nav-newer"><?php previous_posts_link('Newer posts') ?></div>
</div>
<!-- //#page-nav -->
</div>
<!-- //#contentA -->
</section></div>
<!-- //#contentHeadA -->
<?php
get_sidebar();
//#content [get_sidebar() closes div #content]
?>
<?
get_footer();
?>