forked from Codeinwp/Parallax-One
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontent-single-download.php
39 lines (34 loc) · 977 Bytes
/
content-single-download.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
/**
* Content Single Download
*
* @package parallax-one
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'content-single-page' ); ?>>
<header class="entry-header single-header">
<?php the_title( '<h1 itemprop="headline" class="entry-title single-title">', '</h1>' ); ?>
<div class="colored-line-left"></div>
<div class="clearfix"></div>
</header><!-- .entry-header -->
<div itemprop="text" class="entry-content">
<div class="edd-image-wrap">
<?php
// check if the post has a Post Thumbnail assigned to it.
if ( has_post_thumbnail() ) {
the_post_thumbnail();
}
?>
</div>
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'parallax-one' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<footer class="entry-footer">
<?php parallax_one_entry_footer(); ?>
</footer><!-- .entry-footer -->
</article><!-- #post-## -->