forked from starverte/flint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontent-single.php
45 lines (35 loc) · 1.14 KB
/
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
40
41
42
43
44
45
<?php
/**
* Displays content for the single posts
*
* @package Flint
* @since 1.0.1
*/
?>
<div class="col-xs-12 col-sm-2">
<?php flint_the_post_thumbnail(); ?>
</div>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'col-xs-12 col-sm-8' ); ?>>
<header class="entry-header">
<?php $type = get_post_type(); ?>
<?php do_action( 'flint_open_entry_header_' . $type ); ?>
<h2 class="entry-title"><?php the_title(); ?></h2>
<div class="entry-meta">
<?php do_action( 'flint_entry_meta_above_' . $type ); ?>
</div><!-- .entry-meta -->
<?php do_action( 'flint_close_entry_header_' . $type ); ?>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_content(); ?>
<?php
flint_link_pages( array(
'before' => '<ul class="pagination">',
'after' => '</ul>',
) );
?>
</div><!-- .entry-content -->
<footer class="entry-meta clearfix">
<?php do_action( 'flint_entry_meta_below_' . $type ); ?>
</footer><!-- .entry-meta -->
</article><!-- #post-<?php the_ID(); ?> -->
<div class="hidden-xs col-sm-2"></div>