-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcontent-search.php
More file actions
28 lines (22 loc) · 898 Bytes
/
content-search.php
File metadata and controls
28 lines (22 loc) · 898 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
<?php
if ( ! defined( 'ABSPATH' ) ) exit;
/**
* The default template for displaying content
*/
global $woo_options;
?>
<article <?php post_class(); ?>>
<header>
<h1><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
<span class="post-date-author"><strong class="post-date"><?php the_time( get_option( 'date_format' ) ); ?></strong> by <strong class="post-author"><?php the_author_posts_link(); ?></strong></span>
<span class="post-category"><?php the_category(' ') ?></span>
</header>
<?php
if ( isset( $woo_options['woo_post_content'] ) && $woo_options['woo_post_content'] != 'content' ) {
woo_image( 'width=100&height=100&class=thumbnail alignleft' );
}
?>
<section class="entry">
<?php the_excerpt(); ?>
</section>
</article><!-- /.post -->