-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcontent-single.php
More file actions
45 lines (32 loc) · 1.04 KB
/
content-single.php
File metadata and controls
45 lines (32 loc) · 1.04 KB
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
<?php
/**
* content-single.php
*
* This file handles content for single posts.
*
* @package Follet_Theme
* @since 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> <?php follet_microdata( 'post' ); ?>>
<?php get_template_part( 'templates/post-thumbnail', get_post_format() ); ?>
<header class="entry-header">
<?php if ( follet_get_current( 'post_avatar_show' ) ) : ?>
<?php echo get_avatar( get_the_author_meta( 'email' ), '86' ); ?>
<?php endif; ?>
<h1 class="entry-title" <?php follet_microdata( 'entry-title' ); ?>>
<?php the_title(); ?>
</h1>
<div class="entry-meta">
<?php follet_posted_on(); ?>
</div>
</header>
<div class="entry-content" <?php follet_microdata( 'entry-content' ); ?>>
<?php the_content(); ?>
<?php follet_link_pages(); ?>
</div>
<?php if ( follet_get_current( 'post_author_info_show' ) ) : ?>
<?php get_template_part( 'templates/author-info', 'single' ); ?>
<?php endif; ?>
<?php get_template_part( 'templates/content-footer', get_post_format() ); ?>
</article>