-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontent-page.php
32 lines (27 loc) · 1.04 KB
/
content-page.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
<?php
$classes = get_post_class();
$classes = array_merge($classes, array('concavebox'));
$_slimwriter_nail = get_the_post_thumbnail( get_the_ID(), '-slimwriter-featured-big');
?>
<div class="<?php echo join(' ', $classes);?>">
<?php if($_slimwriter_nail):?>
<div class="featured-img"><?php echo $_slimwriter_nail; ?></div>
<?php endif; // nail ?>
<div class="entry-header">
<?php if(is_singular()):?>
<h1><?php the_title();?></h1>
<?php else: ?>
<h1><a href="<?php the_permalink();?>"><?php the_title();?></a></h1>
<?php endif; ?>
</div>
<div class="entry">
<?php the_content();?>
<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'slimwriter' ) . '</span>', 'after' => '</div>' ) ); ?>
</div><!-- .entry -->
<div class="entry-footer">
<p class="clearfix">
<a class="pull-right" href="<?php the_permalink(); ?>"><span class="glyphicon glyphicon-link"></span></a>
</p>
</div>
</div><!-- .concavebox -->
<?php comments_template();?>