-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsearch.php
35 lines (25 loc) · 1.25 KB
/
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
<?php get_header(); ?>
<section class="layout-content home">
<?php if ( have_posts() ) : ?>
<?php get_sidebar(); ?>
<div class='home-content'>
<div id='recentNewsEntries'>
<?php while ( have_posts() ) : the_post(); ?>
<div class='newsItem hentry'>
<div class='newsImage'></div>
<h2 class='summary entry-title'><a name='id<?php echo the_ID(); ?>' id='id<?php echo the_ID(); ?>' href='<?php the_permalink(); ?>' rel='bookmark' class='bookmark'><?php echo the_title(); ?></a></h2>
<div eclass='entry-content description'>
<abbr class='published newsdate' title='<?php the_date_xml(); ?>'><?php the_date(); ?></abbr>
<div>
<?php the_content( __( 'More <span class="meta-nav">→</span>', 'phpmanual' ) ); ?>
</div>
</div>
</div>
<?php endwhile; ?>
<p class='newsArchive'><a href='/archive/'>More news »</a></p>
</div>
<?php else: ?>
<?php get_template_part('google-search'); ?>
<?php endif; ?>
</section><!-- layout-content -->
<?php get_footer(); ?>