forked from thewirelessguy/cornerstone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
59 lines (41 loc) · 1.63 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(); ?>
<!-- Main Row -->
<div class="row">
<div class="large-8 columns">
<!-- Skip Nav -->
<a id="content"></a>
<!-- Start the Loop -->
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<!-- Begin the first article -->
<article>
<!-- Display the Title as a link to the Post's permalink. -->
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<!-- Display the date (November 16th, 2009 format) and a link to other posts by this posts author. -->
<?php the_time('F jS, Y') ?> by <?php the_author_posts_link() ?>
<!-- Display the Post's Content in a div box. -->
<div class="entry">
<?php the_content(); ?>
</div>
<!-- Display a comma separated list of the Post's Categories. -->
<p class="postmetadata">Posted in <?php the_category(', '); ?></p>
<span class="comment-count"><?php comments_popup_link('Leave a comment', '1 Comment', '% Comments'); ?></span>
</article>
<hr>
<!-- Closes the first article -->
<!-- Stop The Loop (but note the "else:" - see next line). -->
<?php endwhile; else: ?>
<!-- The very first "if" tested to see if there were any Posts to -->
<!-- display. This "else" part tells what do if there weren't any. -->
<p>Sorry, no posts matched your criteria.</p>
<!--End the loop -->
<?php endif; ?>
<!-- Begin Pagination -->
<?php if (function_exists("emm_paginate")) {
emm_paginate();
} ?>
<!-- End Pagination -->
</div>
<?php get_sidebar(); ?>
</div>
<!-- Main Row -->
<?php get_footer(); ?>