-
Notifications
You must be signed in to change notification settings - Fork 25
/
content.php
33 lines (28 loc) · 1.15 KB
/
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
<?php
/**
* The default template for displaying content
*
* @package themeHandle
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'themeTextDomain' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
</h1>
<span class="entry-date"><?php echo get_the_date(); ?></span>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'themeTextDomain' ) . '</span>', 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->
<footer class="entry-meta">
<?php the_tags( '<div class="post-tags">' . __( 'Tagged: ', 'themeTextDomain' ) , ', ', '</div>' ); ?>
<div class="comments-link">
<?php comments_popup_link(
__( 'Leave a comment', 'themeTextDomain' ),
__( '1 comment', 'themeTextDomain' ),
__( '% comments', 'themeTextDomain' ) );
?>
</div>
</footer><!-- #entry-meta -->
</article><!-- #post-<?php the_ID(); ?> -->