-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcontent-aside.php
executable file
·48 lines (42 loc) · 1.45 KB
/
content-aside.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
<?php
/**
* The default template for displaying aside content
*
* @package WPlook
* @subpackage Morning Time Lite
* @since Morning Time Lite 1.0
*/
?>
<!-- Article -->
<?php $postclass = is_single() ? 'post-single' : ''; ?>
<article id="post-<?php the_ID(); ?>" <?php post_class($postclass.' post post-single wow fadeIn'); ?> itemscope itemtype="https://schema.org/BlogPosting" data-wow-duration="0.35s" data-wow-delay="0.15s">
<div class="post-body">
<div class="entry" itemprop="articleBody">
<blockquote>
<?php
the_content( sprintf(
__( 'Continue reading %s', 'morningtime-lite' ), the_title( '<span class="screen-reader-text">', '</span>', false )
) );
?>
</blockquote>
<?php
wp_link_pages( array(
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'morningtime-lite' ) . '</span>',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'morningtime-lite' ) . ' </span>%',
'separator' => '<span class="screen-reader-text">, </span>',
) );
?>
</div><!-- /.entry -->
</div><!-- /.post-body -->
<?php if( is_single()) { ?>
<?php // Author bio.
if ( get_the_author_meta( 'description' ) ) :
get_template_part( 'author-bio' );
endif;
?>
<?php echo morning_time_lite_content_navigation('postnav'); ?>
<?php } ?>
</article><!-- /.post -->