-
Notifications
You must be signed in to change notification settings - Fork 0
/
content.php
34 lines (29 loc) · 922 Bytes
/
content.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
<?php
/**
* @package nopasera
*/
?>
Hi
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( has_post_thumbnail() ): ?>
<?php the_post_thumbnail(); ?>
<?php endif; ?>
<header class="entry-header">
<?php the_title( sprintf( '<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' ); ?>
<?php if ( 'post' == get_post_type() ) : ?>
<div class="entry-meta">
<?php nopasera_posted_on(); ?>
</div><!-- .entry-meta -->
<?php endif; ?>
</header><!-- .entry-header -->
<div class="entry-content">
<?php
/* translators: %s: Name of current post */
the_content( sprintf(
__( 'Continue reading %s <span class="meta-nav">→</span>', 'nopasera' ),
the_title( '<span class="screen-reader-text">"', '"</span>', false )
) );
?>
</div><!-- .entry-content -->
<?php nopasera_entry_footer(); ?>
</article><!-- #post-## -->