-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
59 lines (50 loc) · 1.64 KB
/
index.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
get_header();
?>
<section id="blog-article" class="section-page blogroll">
<div class="container">
<h1>The Blog
<?php
if (is_category())
printf( __( ' Archives: %s' ), '<span>' . single_cat_title( '', false ) . '</span>' );
?>
</h1>
<?php
$cnt = 0;
if (have_posts()) : while (have_posts()) : the_post();
?>
<div class="row divide">
<div class="col-md-12">
<?php
if ($cnt > 0)
echo '<div class="divider"></div>';
else
$cnt++;
?>
<h3 class="storytitle">
<a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a>
</h3>
<div class="storycontent">
<?php the_content(__('(read more..)')); ?>
<div class="clear"></div>
</div>
<div class="meta">
<?php echo("Published "); ?><?php the_date(); ?> <?php edit_post_link(__('Edit This')); ?>
<?php echo(" [");?><?php comments_popup_link(__('No Comments'), __('1 Comment'), __('% Comments')); ?><?php echo("]");?>
–
Categories: <span class="gent"><?php the_category(', '); ?></span>
</div>
</div>
</div> <!-- end row -->
<?php endwhile; else: ?>
<p class="error">
<?php _e('Sorry, no posts matched your criteria.'); ?>
</p>
<?php endif; ?>
<p style="text-indent:20px;">
<?php posts_nav_link(' — ', __('« Newer Posts'), __('Older Posts »')); ?>
</p>
</div> <!-- End container -->
</section>
<?php get_footer();
?>