16 <section id="primary" class="content-area image-attachment"> |
16 <section id="primary" class="content-area image-attachment"> |
17 <div id="content" class="site-content" role="main"> |
17 <div id="content" class="site-content" role="main"> |
18 |
18 |
19 <?php |
19 <?php |
20 // Start the Loop. |
20 // Start the Loop. |
21 while ( have_posts() ) : the_post(); |
21 while ( have_posts() ) : |
|
22 the_post(); |
22 ?> |
23 ?> |
23 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
24 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
24 <header class="entry-header"> |
25 <header class="entry-header"> |
25 <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> |
26 <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> |
26 |
27 |
27 <div class="entry-meta"> |
28 <div class="entry-meta"> |
28 |
29 |
29 <span class="entry-date"><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>"><?php echo esc_html( get_the_date() ); ?></time></span> |
30 <span class="entry-date"><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>"><?php echo esc_html( get_the_date() ); ?></time></span> |
30 |
31 |
31 <span class="full-size-link"><a href="<?php echo esc_url( wp_get_attachment_url() ); ?>"><?php echo esc_html( $metadata['width'] ); ?> × <?php echo esc_html( $metadata['height'] ); ?></a></span> |
32 <span class="full-size-link"><a href="<?php echo esc_url( wp_get_attachment_url() ); ?>"><?php echo esc_html( $metadata['width'] ); ?> × <?php echo esc_html( $metadata['height'] ); ?></a></span> |
32 |
33 |
33 <span class="parent-post-link"><a href="<?php echo esc_url( get_permalink( $post->post_parent ) ); ?>" rel="gallery"><?php echo get_the_title( $post->post_parent ); ?></a></span> |
34 <span class="parent-post-link"><a href="<?php echo esc_url( get_permalink( $post->post_parent ) ); ?>" rel="gallery"><?php echo get_the_title( $post->post_parent ); ?></a></span> |
34 <?php edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' ); ?> |
35 <?php edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' ); ?> |
35 </div><!-- .entry-meta --> |
36 </div><!-- .entry-meta --> |
36 </header><!-- .entry-header --> |
37 </header><!-- .entry-header --> |
37 |
38 |
38 <div class="entry-content"> |
39 <div class="entry-content"> |
39 <div class="entry-attachment"> |
40 <div class="entry-attachment"> |
40 <div class="attachment"> |
41 <div class="attachment"> |
41 <?php twentyfourteen_the_attached_image(); ?> |
42 <?php twentyfourteen_the_attached_image(); ?> |
42 </div><!-- .attachment --> |
43 </div><!-- .attachment --> |
43 |
44 |
44 <?php if ( has_excerpt() ) : ?> |
45 <?php if ( has_excerpt() ) : ?> |
45 <div class="entry-caption"> |
46 <div class="entry-caption"> |
46 <?php the_excerpt(); ?> |
47 <?php the_excerpt(); ?> |
47 </div><!-- .entry-caption --> |
48 </div><!-- .entry-caption --> |
48 <?php endif; ?> |
49 <?php endif; ?> |
49 </div><!-- .entry-attachment --> |
50 </div><!-- .entry-attachment --> |
50 |
51 |
51 <?php |
52 <?php |
52 the_content(); |
53 the_content(); |
53 wp_link_pages( array( |
54 wp_link_pages( |
|
55 array( |
54 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>', |
56 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>', |
55 'after' => '</div>', |
57 'after' => '</div>', |
56 'link_before' => '<span>', |
58 'link_before' => '<span>', |
57 'link_after' => '</span>', |
59 'link_after' => '</span>', |
58 ) ); |
60 ) |
59 ?> |
61 ); |
|
62 ?> |
60 </div><!-- .entry-content --> |
63 </div><!-- .entry-content --> |
61 </article><!-- #post-## --> |
64 </article><!-- #post-## --> |
62 |
65 |
63 <nav id="image-navigation" class="navigation image-navigation"> |
66 <nav id="image-navigation" class="navigation image-navigation"> |
64 <div class="nav-links"> |
67 <div class="nav-links"> |