39 lines
1.3 KiB
PHP
39 lines
1.3 KiB
PHP
<?php
|
|
/**
|
|
* The template for displaying posts in the Image post format,
|
|
* called from the taxonomy.php template.
|
|
*
|
|
* @package Media Library Assistant
|
|
* @subpackage MLA_Child_Theme
|
|
* @version 1.00
|
|
* @since MLA 1.80
|
|
*/
|
|
|
|
/**
|
|
* Harmless declaration to suppress phpDocumentor "No page-level DocBlock" error
|
|
*
|
|
* @global $post
|
|
*/
|
|
global $post;
|
|
?>
|
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
<div class="entry-content">
|
|
|
|
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?>
|
|
</div><!-- .entry-content -->
|
|
|
|
<footer class="entry-meta">
|
|
<a href="<?php the_permalink(); ?>" rel="bookmark">
|
|
<h1><?php the_title(); ?></h1>
|
|
<h2><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>"><?php echo get_the_date(); ?></time></h2>
|
|
</a>
|
|
<?php if ( comments_open() ) : ?>
|
|
<div class="comments-link">
|
|
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentytwelve' ) . '</span>', __( '1 Reply', 'twentytwelve' ), __( '% Replies', 'twentytwelve' ) ); ?>
|
|
</div><!-- .comments-link -->
|
|
<?php endif; // comments_open() ?>
|
|
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
|
|
</footer><!-- .entry-meta -->
|
|
</article><!-- #post -->
|