Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 67 lines (49 sloc) 2.798 kB
0c01223 @justintadlock Bring in the initial files and folders.
authored
1 <?php
2 /**
3 * Gallery Content Template
4 *
5 * Template used to show posts with the 'gallery' post format.
6 *
8ab6ce2 @justintadlock Copy/Paste fail. Update all instances of @package MyLife to @package…
authored
7 * @package Picturesque
0c01223 @justintadlock Bring in the initial files and folders.
authored
8 * @subpackage Template
9 * @since 0.1.0
10 * @author Justin Tadlock <justin@justintadlock.com>
d8e7a87 @justintadlock Many, many changes getting this theme ready.
authored
11 * @copyright Copyright (c) 2012, Justin Tadlock
12 * @link http://themehybrid.com/themes/picturesque
0c01223 @justintadlock Bring in the initial files and folders.
authored
13 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
14 */
15
16 do_atomic( 'before_entry' ); // picturesque_before_entry ?>
17
d8e7a87 @justintadlock Many, many changes getting this theme ready.
authored
18 <article id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
0c01223 @justintadlock Bring in the initial files and folders.
authored
19
20 <?php do_atomic( 'open_entry' ); // picturesque_open_entry ?>
21
22 <?php if ( is_singular() ) { ?>
23
d8e7a87 @justintadlock Many, many changes getting this theme ready.
authored
24 <header class="entry-header">
25 <?php echo apply_atomic_shortcode( 'entry_title', the_title( '<h1 class="entry-title">', '</h1>', false ) ); ?>
26 <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[post-format-link] published on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'picturesque' ) . '</div>' ); ?>
27 </header><!-- .entry-header -->
0c01223 @justintadlock Bring in the initial files and folders.
authored
28
29 <div class="entry-content">
30 <?php the_content(); ?>
d8e7a87 @justintadlock Many, many changes getting this theme ready.
authored
31 <?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'picturesque' ), 'after' => '</p>' ) ); ?>
0c01223 @justintadlock Bring in the initial files and folders.
authored
32 </div><!-- .entry-content -->
33
d8e7a87 @justintadlock Many, many changes getting this theme ready.
authored
34 <footer class="entry-footer">
35 <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="Tagged "]', 'picturesque' ) . '</div>' ); ?>
36 </footer><!-- .entry-footer -->
0c01223 @justintadlock Bring in the initial files and folders.
authored
37
38 <?php } else { ?>
39
40 <?php if ( current_theme_supports( 'get-the-image' ) ) get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'thumbnail' ) ); ?>
41
d8e7a87 @justintadlock Many, many changes getting this theme ready.
authored
42 <header class="entry-header">
43 <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
44 </header><!-- .entry-header -->
0c01223 @justintadlock Bring in the initial files and folders.
authored
45
46 <div class="entry-summary">
47 <?php if ( has_excerpt() ) {
48 the_excerpt();
d8e7a87 @justintadlock Many, many changes getting this theme ready.
authored
49 wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'picturesque' ), 'after' => '</p>' ) );
0c01223 @justintadlock Bring in the initial files and folders.
authored
50 } ?>
51
52 <?php $count = picturesque_get_image_attachment_count(); ?>
d8e7a87 @justintadlock Many, many changes getting this theme ready.
authored
53 <p class="image-count"><?php printf( _n( 'This gallery contains %s image.', 'This gallery contains %s images.', $count, 'picturesque' ), $count ); ?></p>
0c01223 @justintadlock Bring in the initial files and folders.
authored
54
55 </div><!-- .entry-summary -->
56
d8e7a87 @justintadlock Many, many changes getting this theme ready.
authored
57 <footer class="entry-footer">
58 <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[post-format-link] published on [entry-published] [entry-permalink before="| "] [entry-comments-link before="| "] [entry-edit-link before="| "]', 'picturesque' ) . '</div>' ); ?>
59 </footer><!-- .entry-footer -->
0c01223 @justintadlock Bring in the initial files and folders.
authored
60
61 <?php } ?>
62
63 <?php do_atomic( 'close_entry' ); // picturesque_close_entry ?>
64
d8e7a87 @justintadlock Many, many changes getting this theme ready.
authored
65 </article><!-- .hentry -->
0c01223 @justintadlock Bring in the initial files and folders.
authored
66
67 <?php do_atomic( 'after_entry' ); // picturesque_after_entry ?>
Something went wrong with that request. Please try again.