forked from Codeinwp/oblique
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontent-single.php
44 lines (38 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
<?php
/**
* The template used for displaying page content in single.php
*
* @package Oblique
*/
?>
<div class="svg-container single-post-svg svg-block">
<?php oblique_svg_1(); ?>
</div>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
<div class="entry-meta">
<?php oblique_posted_on(); ?>
</div><!-- .entry-meta -->
</header><!-- .entry-header -->
<?php if ( has_post_thumbnail() && ( get_theme_mod( 'post_feat_image' ) != 1 ) ) : ?>
<div class="single-thumb">
<?php the_post_thumbnail( 'oblique-single-thumb' ); ?>
</div>
<?php endif; ?>
<div class="entry-content">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'oblique' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<footer class="entry-footer">
<?php oblique_entry_footer(); ?>
</footer><!-- .entry-footer -->
</article><!-- #post-## -->
<div class="svg-container single-post-svg single-svg-bottom svg-block">
<?php do_action( 'oblique_single_page_post_svg' ); ?>
</div>