-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle-masthead.php
59 lines (43 loc) · 1.88 KB
/
single-masthead.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php /* WP Post Template: Detailed Post */ ?>
<?php get_header(); ?>
<div class="masthead">
<div class="container">
<div class="row">
<div class="col-md-8 col-sm-10 col-md-offset-2 col-sm-offset-1">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<!--<div class="masthead-post-title">-->
<h1 class="entry"><?php the_title(); ?></h1>
<p class="blog-post-meta"><?php the_time( 'F j, Y' ); ?> - <?php the_category(', ');?></p>
<!--</div>-->
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-8 col-sm-10 col-md-offset-2 col-sm-offset-1">
<div class="blog-main">
<?php if ( has_post_thumbnail()) : ?>
<div class="post-thumb">
<?php the_post_thumbnail('big-thumb'); ?>
</div>
<?php endif; ?>
<div class="entry clearfix"><?php the_content(); ?></div>
<?php wp_link_pages(); ?>
<?php comments_template(); ?>
</div>
<ul class="pager clearfix hidden-print">
<li class="pull-left"><?php previous_post_link( '%link', '' . _x( '<i class="fa fa-chevron-left"></i>', 'Previous post link', 'wpboot' ) . ' Previous' ); ?></li>
<li class="pull-right"><?php next_post_link( '%link', 'Next ' . _x( '<i class="fa fa-chevron-right"></i>', 'Next post link', 'wpboot' ) . '' ); ?></li>
</ul>
<?php endwhile; endif; ?>
</div><!-- /.col -->
</div>
<div class="row">
<div class="col-md-8 col-sm-10 col-md-offset-2 col-sm-offset-1 text-center">
<hr>
<?php get_template_part( 'morecontent' ); ?>
</div>
</div>
</div>
<?php get_footer(); ?>