forked from wdgdc/wordpress-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
51 lines (40 loc) · 1.21 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
<?php
/* Catch-all templates */
get_header();
?>
<div class="main-content">
<?php while (have_posts()) : the_post(); ?>
<article id="<?php echo get_post_type(); ?>-<?php the_ID(); ?>" <?php post_class(); ?> role="article">
<div class="entry-header">
<h1 class="entry-title">
<?php the_title(); ?>
</h1>
<p class="entry-byline">
<?php
$categories = (has_category()) ? ' <span class="entry-byline-amp">&</span> filed under %4$s' : '';
printf(
__('Posted <time class="entry-updated" datetime="%1$s" pubdate>%2$s</time> by <span class="entry-author">%3$s</span>' . $categories . '.'),
get_the_time('Y-m-j'),
get_the_time(get_option('date_format')),
// Theme::get('author_posts_link'),
get_the_category_list(', ')
);
?>
</p>
</div>
<div class="entry-content clearfix" itemprop="articleBody">
<?php the_content(); ?>
</div>
<div class="entry-footer">
<p class="entry-tags">
<?php the_tags( '<span class="entry-tags-label">' . __('Tags:') . '</span> ', ', ', '' ); ?>
</p>
</div>
<?php posts_nav_link(); ?>
<?php comments_template(); ?>
</article>
<?php endwhile; ?>
</div>
<?php
get_sidebar();
get_footer();