-
Notifications
You must be signed in to change notification settings - Fork 0
/
content-aside.php
executable file
·50 lines (36 loc) · 1.25 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
49
50
<?php
/**
* The template for displaying the aside post format on archives.
*
* @package Patch Lite
* @since Patch Lite 1.1.6
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
?>
<div class="grid__item">
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-meta"><?php patch_lite_card_meta(); ?></div><!-- .entry-meta -->
<div class="entry-content entry-content--long">
<?php
/* translators: %s: Name of current post */
the_content( sprintf(
esc_html__( 'Continue reading %s', 'patch-lite' ),
the_title( '<span class="screen-reader-text">', '</span>', false )
) ); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links"><span class="pagination-title">' . esc_html__( 'Pages:', 'patch-lite' ),
'after' => '</span></div>',
'link_before' => '<span>',
'link_after' => '</span>',
'pagelink' => '<span class="screen-reader-text">' . esc_html__( 'Page', 'patch-lite' ) . ' </span>%',
'separator' => '<span class="screen-reader-text">, </span>',
) ); ?>
</div><!-- .entry-content -->
<footer class="entry-footer">
<?php patch_lite_entry_footer(); ?>
</footer><!-- .entry-footer -->
</article><!-- #post-## -->
</div><!-- .grid__item -->