source: trunk/www.guidonia.net/wp/wp-content/themes/slickpress/search.php@ 44

Last change on this file since 44 was 44, checked in by luciano, 14 years ago
File size: 1.1 KB
Line 
1<?php get_header(); ?>
2 <!-- BEGIN content -->
3 <div id="content">
4
5 <h2 class="title">Search Results for <strong><?php the_search_query(); ?></strong></h2>
6
7 <?php
8 if (have_posts()) : $side = 'r';
9 while (have_posts()) : the_post();
10 $arc_year = get_the_time('Y');
11 $arc_month = get_the_time('m');
12 $arc_day = get_the_time('d');
13 $side = ($side=='r') ? 'l' : 'r';
14 ?>
15 <div class="archive">
16 <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
17 <?php dp_attachment_image(0, 'thumbnail', 'alt="' . $post->post_title . '"'); ?>
18 <?php the_excerpt(); ?>
19 <p><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></p>
20 </div>
21 <?php endwhile; ?>
22 <div class="break"></div>
23 <!-- begin post navigation -->
24 <div class="postnav">
25 <?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?>
26 </div>
27 <!-- end post navigation -->
28 <?php else : ?>
29 <div class="notfound">
30 <h2>Not Found</h2>
31 <p>Sorry, but you are looking for something that is not here.</p>
32 </div>
33 <?php endif; ?>
34
35 </div>
36 <!-- END content -->
37<?php get_sidebar(); get_footer(); ?>
Note: See TracBrowser for help on using the repository browser.