web/wp-content/themes/twentyeleven/content-image.php
changeset 204 09a1c134465b
parent 194 32102edaa81b
equal deleted inserted replaced
203:f507feede89a 204:09a1c134465b
    10  */
    10  */
    11 ?>
    11 ?>
    12 	<article id="post-<?php the_ID(); ?>" <?php post_class( 'indexed' ); ?>>
    12 	<article id="post-<?php the_ID(); ?>" <?php post_class( 'indexed' ); ?>>
    13 		<header class="entry-header">
    13 		<header class="entry-header">
    14 			<hgroup>
    14 			<hgroup>
    15 				<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    15 				<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    16 				<h3 class="entry-format"><?php _e( 'Image', 'twentyeleven' ); ?></h3>
    16 				<h3 class="entry-format"><?php _e( 'Image', 'twentyeleven' ); ?></h3>
    17 			</hgroup>
    17 			</hgroup>
    18 
    18 
    19 			<?php if ( comments_open() && ! post_password_required() ) : ?>
    19 			<?php if ( comments_open() && ! post_password_required() ) : ?>
    20 			<div class="comments-link">
    20 			<div class="comments-link">
    29 		</div><!-- .entry-content -->
    29 		</div><!-- .entry-content -->
    30 
    30 
    31 		<footer class="entry-meta">
    31 		<footer class="entry-meta">
    32 			<div class="entry-meta">
    32 			<div class="entry-meta">
    33 				<?php
    33 				<?php
    34 					printf( __( '<a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s" pubdate>%3$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s" rel="author">%6$s</a></span></span>', 'twentyeleven' ),
    34 					printf( __( '<a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s" rel="author">%6$s</a></span></span>', 'twentyeleven' ),
    35 						esc_url( get_permalink() ),
    35 						esc_url( get_permalink() ),
    36 						get_the_date( 'c' ),
    36 						get_the_date( 'c' ),
    37 						get_the_date(),
    37 						get_the_date(),
    38 						esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
    38 						esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
    39 						esc_attr( sprintf( __( 'View all posts by %s', 'twentyeleven' ), get_the_author() ) ),
    39 						esc_attr( sprintf( __( 'View all posts by %s', 'twentyeleven' ), get_the_author() ) ),
    64 				<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
    64 				<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
    65 				<?php endif; // End if comments_open() ?>
    65 				<?php endif; // End if comments_open() ?>
    66 			</div><!-- .entry-meta -->
    66 			</div><!-- .entry-meta -->
    67 
    67 
    68 			<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
    68 			<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
    69 		</footer><!-- #entry-meta -->
    69 		</footer><!-- .entry-meta -->
    70 	</article><!-- #post-<?php the_ID(); ?> -->
    70 	</article><!-- #post-<?php the_ID(); ?> -->