forked from creativeslice/goldenegg-public
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle.php
executable file
·47 lines (31 loc) · 1.2 KB
/
single.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
<?php get_header(); ?>
<div id="content">
<div class="wrap">
<div id="main" role="main">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php /* Use POST FORMATS with this include OR use <article> below
get_template_part( '/partials/post-formats/format', get_post_format() );
*/ ?>
<article id="post-<?php the_ID(); ?>" <?php post_class('cf'); ?> role="article" itemscope itemtype="http://schema.org/BlogPosting">
<header class="article-header">
<h1 class="entry-title single-title" itemprop="headline">
<?php the_title(); ?>
</h1>
<?php get_template_part( '/partials/content', 'byline' ); ?>
</header>
<section class="entry-content cf" itemprop="articleBody">
<?php the_content(); ?>
</section>
<footer class="article-footer">
<?php the_tags( '<p class="tags"><span class="tags-title">Tags:</span> ', ', ', '</p>' ); ?>
<?php get_template_part( 'partials/content-share-links' ); ?>
</footer>
<?php comments_template(); ?>
</article>
<?php endwhile; else : ?>
<?php get_template_part( '/partials/content', 'missing' ); ?>
<?php endif; ?>
</div>
</div>
</div>
<?php get_footer(); ?>