-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathloop.php
More file actions
36 lines (27 loc) · 890 Bytes
/
Copy pathloop.php
File metadata and controls
36 lines (27 loc) · 890 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
29
30
31
32
33
34
35
36
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<article <?php post_class(); ?>>
<header>
<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
<div class="post-meta clearfix">
<?php cosmos_post_author(array('text' => 'by ', 'icon' => false));
cosmos_post_date();
cosmos_post_category();
cosmos_post_tag();
cosmos_post_comments(); ?>
</div>
</header>
<div class="row-fluid">
<div class="span3">
<?php cosmos_post_thumbnail(array('size' => 'archive')); ?>
</div>
<div class="span9">
<?php the_excerpt(); ?>
<a href="<?php esc_url(the_permalink()); ?>" title="" class="btn"><?php esc_html_e('Continue Reading', 'cosmos'); ?></a>
</div>
</div>
</article>
<?php endwhile; ?>
<?php cosmos_page_nav(); ?>
<?php else: ?>
<p><?php _e('Sorry, no posts matched your criteria.', 'cosmos'); ?></p>
<?php endif; ?>