Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 63 lines (62 sloc) 2.412 kb
c21c324 @chipbennett Settings API rewritten and major documentation overhaul
authored
1 <?php
2 /**
3 * Template part file that contains the Aside Post content,
4 * including Post entry and Post footer
5 *
6 * This file is called by Posts with the "Aside" Post Format
7 *
8 * @uses get_template_part()
9 *
10 * @package Oenology
11 * @copyright Copyright (c) 2010, Chip Bennett
12 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License, v2 (or newer)
13 *
14 * @since Oenology 1.0
15 */
16 ?>
e0d794c @chipbennett Working copy 20110122
authored
17 <div class="post-entry">
c21c324 @chipbennett Settings API rewritten and major documentation overhaul
authored
18 <?php
19 // Include the specified Theme template part file
20 //
21 // Codex reference: {@link http://codex.wordpress.org/Function_Reference/get_template_part get_template_part}
22 //
23 // get_template_part( $slug ) will attempt to include $slug.php.
24 // The function will attempt to include files in the following
25 // order, until it finds one that exists: the Theme's $slug.php,
26 // the parent Theme's $slug.php
27 //
28 // get_template_part( $slug , $name ) will attempt to include
29 // $slug-$name.php. The function will attempt to include files
30 // in the following order, until it finds one that exists: the
31 // Theme's $slug-$name.php, the Theme's $slug.php, the parent
32 // Theme's $slug-$name.php, the parent Theme's $slug.php
33 //
34 // Child Themes can replace this template part file globally,
35 // via "post-entry.php", or in a specific context only, via
36 // "post-entry-{context}.php"
37 get_template_part( 'post-entry', oenology_get_context() );
38 ?>
e0d794c @chipbennett Working copy 20110122
authored
39 </div>
40
41 <div class="post-footer">
c21c324 @chipbennett Settings API rewritten and major documentation overhaul
authored
42 <?php
43 // Include the specified Theme template part file
44 //
45 // Codex reference: {@link http://codex.wordpress.org/Function_Reference/get_template_part get_template_part}
46 //
47 // get_template_part( $slug ) will attempt to include $slug.php.
48 // The function will attempt to include files in the following
49 // order, until it finds one that exists: the Theme's $slug.php,
50 // the parent Theme's $slug.php
51 //
52 // get_template_part( $slug , $name ) will attempt to include
53 // $slug-$name.php. The function will attempt to include files
54 // in the following order, until it finds one that exists: the
55 // Theme's $slug-$name.php, the Theme's $slug.php, the parent
56 // Theme's $slug-$name.php, the parent Theme's $slug.php
57 //
58 // Child Themes can replace this template part file globally,
59 // via "post-footer.php", or in a specific context only, via
60 // "post-footer-{context}.php"
61 get_template_part( 'post-footer', oenology_get_context() );
62 ?>
63 </div>
Something went wrong with that request. Please try again.