-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsearch.php
More file actions
executable file
·49 lines (27 loc) · 1.71 KB
/
Copy pathsearch.php
File metadata and controls
executable file
·49 lines (27 loc) · 1.71 KB
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
43
44
45
46
47
48
49
<?php get_header(); ?>
<?php get_template_part( 'parts/page-header-2col'); ?>
<div itemscope itemtype="https://schema.org/SearchResultsPage">
<h2 class="searchpage"><?php printf( __( 'Search Results for: %s', 'uu2014' ), esc_attr(get_search_query()) ); ?></h2>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
<header class="article-header">
<h3 class="entry-title search-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
<?php
/* Hidden by default
<p class="byline vcard"><?php _e("Posted", "scaffolding"); ?> <time class="updated" datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php _e("by", "scaffolding"); ?> <span class="author"><?php the_author_posts_link(); ?></span> <span class="amp">&</span> <?php _e("filed under", "scaffolding"); ?> <?php the_category(', '); ?>.</p>
*/ ?>
</header><?php // end article header ?>
<section class="entry-content" itemprop="description">
<?php uu_excerpt('160'); ?>
</section><?php // end article section ?>
<footer class="article-footer">
</footer><?php // end article footer ?>
</article><?php // end article ?>
<?php endwhile; ?>
<?php get_template_part('includes/template','pager'); // WordPress template pager/pagination ?>
<?php else : ?>
<?php get_template_part('includes/template','error'); // WordPress template error message ?>
<?php endif; ?>
</div>
<?php get_template_part( 'parts/page-footer-2col'); ?>
<?php get_footer();