51 lines
2.2 KiB
PHP
51 lines
2.2 KiB
PHP
|
<?php
|
||
|
/**
|
||
|
* The template for displaying posts in the Quote post format
|
||
|
*
|
||
|
* @package WordPress
|
||
|
* @subpackage Twenty_Twelve
|
||
|
* @since Twenty Twelve 1.0
|
||
|
*/
|
||
|
?>
|
||
|
|
||
|
<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', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
|
||
|
|
||
|
<div class="entry-meta">
|
||
|
<?php twentytwelve_posted_on(); ?>
|
||
|
</div><!-- .entry-meta -->
|
||
|
</header><!-- .entry-header -->
|
||
|
|
||
|
<div class="entry-content">
|
||
|
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?>
|
||
|
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), 'after' => '</div>' ) ); ?>
|
||
|
</div><!-- .entry-content -->
|
||
|
|
||
|
<footer class="entry-meta">
|
||
|
<?php
|
||
|
/* translators: used between list items, there is a space after the comma */
|
||
|
$categories_list = get_the_category_list( __( ', ', 'twentytwelve' ) );
|
||
|
if ( $categories_list ) :
|
||
|
?>
|
||
|
<span class="cat-links">
|
||
|
<?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentytwelve' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list ); ?>
|
||
|
</span>
|
||
|
<?php endif; // End if categories ?>
|
||
|
<?php
|
||
|
/* translators: used between list items, there is a space after the comma */
|
||
|
$tags_list = get_the_tag_list( '', __( ', ', 'twentytwelve' ) );
|
||
|
if ( $tags_list ) : ?>
|
||
|
<span class="tag-links">
|
||
|
<?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentytwelve' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
|
||
|
</span>
|
||
|
<?php endif; // End if $tags_list ?>
|
||
|
|
||
|
<?php if ( comments_open() ) : ?>
|
||
|
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentytwelve' ) . '</span>', __( '<b>1</b> Reply', 'twentytwelve' ), __( '<b>%</b> Replies', 'twentytwelve' ) ); ?></span>
|
||
|
<?php endif; // End if comments_open() ?>
|
||
|
|
||
|
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
|
||
|
</footer><!-- #entry-meta -->
|
||
|
</article><!-- #post -->
|