-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcontent-single.php
More file actions
53 lines (48 loc) · 1.44 KB
/
content-single.php
File metadata and controls
53 lines (48 loc) · 1.44 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
46
47
48
49
50
51
52
53
<?php
/**
* @package Melany
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="page-header entry-header">
<hgroup class="row">
<div class="col-sm-12">
<h1 class="entry-title"><?php the_title(); ?></h1>
</div>
</hgroup>
<div class="entry-meta">
<small><?php melany_posted_on();
/* translators: used between list items, there is a space after the comma */
$categories_list = get_the_category_list( ', ' );
if ( $categories_list && melany_categorized_blog() ) : ?>
<span class="cat-links">
<?php printf( __(' in %1$s', 'melany' ), $categories_list ); ?>
</span>
<?php endif; ?></small>
</div><!-- .entry-meta -->
</header><!-- .page-header -->
<div class="entry-content">
<?php melany_post_thumbnail(); ?>
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links well"><b>' . __( 'Pages:', 'melany' ) . '</b>',
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<?php melany_author_box(); ?>
<footer class="entry-meta">
<?php $tag_list = get_the_tag_list( '', ' - ' );
if( '' != $tag_list ) : ?>
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title"><?php echo __( 'Tags', 'melany' ); ?></h3>
</div>
<div class="panel-body">
<?php printf( $tag_list ); ?>
</div>
</div>
<?php endif; ?>
</footer><!-- .entry-meta -->
</article><!-- #post-## -->