forked from dimsemenov/Touchfolio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontent-single.php
27 lines (25 loc) · 951 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
<?php
/**
* @package dsframework
* @since dsframework 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<h1 class="entry-title"><?php the_title(); ?></h1>
<div class="entry-meta">
<span>
<?php the_time('d M y') ?>
</span>
</div>
</header>
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'dsframework' ), 'after' => '</div>' ) ); ?>
</div>
<footer class="entry-meta tags-list text-block">
<?php $tag_list = get_the_tag_list( '', ', ', '' ); ?>
<?php if ( '' != $tag_list ) { echo __('<span class="fa fa-tags"> ', 'dsframework') . $tag_list; } ?>
<br/><br/><i class="fa fa-wordpress"></i> <?php the_author_link(); ?> / <a class="" href="<?php the_permalink(); ?>"><?php the_time('d M Y') ?> / <?php the_category(', '); ?></a>
</footer>
</article>