-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent-single.php
More file actions
31 lines (25 loc) · 1003 Bytes
/
Copy pathcontent-single.php
File metadata and controls
31 lines (25 loc) · 1003 Bytes
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
<?php
/**
* The template used for displaying page content in single.php
*
* @package wp-taiga
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="article-header">
<h1 class="article-title"><?php the_title(); ?></h1>
<p class="byline"><?php _e( 'Posted on: ', 'wp-taiga' ) ?><?php echo get_the_date() ?>, <?php _e( 'By: ', 'wp-taiga' ) ?><?php echo get_the_author() ?></p>
</header><!-- .page-header -->
<div class="article-content">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'wp-taiga' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<footer class="article-footer">
<?php the_tags( '<span class="tags">' . __( 'Tags:', 'wp-taiga' ) . ' ', ' ', '</span>' ); ?>. <?php edit_post_link( __( 'Edit post', 'wp-taiga' ), '<span class="edit-link button-soft right">', '</span>' ); ?>
</footer><!-- .article-footer -->
</article><!-- #post-## -->