forked from peiche/cover
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontent-single.php
39 lines (32 loc) · 1022 Bytes
/
content-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
<?php
/**
* @package Cover
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-content aesop-entry-content">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'cover' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<footer class="entry-meta">
<?php
$tags = get_the_tags();
if ( $tags ) {
?>
<ul class="tags">
<?php
foreach ( $tags as $tag ) {
echo '<li><a href="' . get_tag_link( $tag->term_id ) . '" title="' . esc_attr( sprintf( __( 'View all posts in %s', 'cover' ), $tag->name ) ) . '">' . $tag->name . '</a></li>';
}
?>
</ul>
<?php } ?>
<?php edit_post_link( __( '<i class="fa fa-pencil"></i> Edit', 'cover' ), '<div><span class="edit-link">', '</span></div>' ); ?>
<?php get_template_part( 'inc/author-bio' ); ?>
</footer><!-- .entry-meta -->
</article><!-- #post-## -->