-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle.php
executable file
·39 lines (32 loc) · 944 Bytes
/
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
<?php
/**
* The Template for displaying all single posts
*/
get_header();
the_showcase();
?>
<div class="content-area before-footer no-slides" role="main">
<div class="wrap">
<?php
if ( have_posts() ) :
while ( have_posts() ) : the_post();
?>
<div class="post-list-title">
<h1 class="post-title"><?php the_title(); ?></h1>
</div>
<hr>
<div class="entry-thumbnail"><?php the_post_thumbnail( null, array( 768, 480 ) ); ?></div>
<?php
the_content();
?>
<?php
endwhile;
endif;
?>
<div class="post-navigation"><?php print str_replace( 'rel="prev">', 'rel="prev" class="prev btn cyan">« ', get_previous_post_link( '%link' ) ); ?> <?php print str_replace( 'rel="next"', 'rel="next" class="next btn cyan"', str_replace( '</a>', ' »</a>', get_next_post_link( '%link' ) ) ); ?></div>
</div>
</div>
<div class="separator"></div>
<?php
get_footer();
?>