Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v2.0.3
Fetching contributors…

Cannot retrieve contributors at this time

file 115 lines (111 sloc) 4.178 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
<?php
/**
* Master/Default template file
*
* This file is the master/default template file, used when no other file matches in
* the {@link http://codex.wordpress.org/Template_Hierarchy Template Hierarchy}.
*
* @uses oenology_get_context()
*
* @link http://codex.wordpress.org/Function_Reference/get_header get_header()
* @link http://codex.wordpress.org/Function_Reference/get_footer get_footer()
* @link http://codex.wordpress.org/Function_Reference/get_sidebar get_sidebar()
* @link http://codex.wordpress.org/Function_Reference/get_template_part get_template_part()
* @link http://codex.wordpress.org/Function_Reference/has_post_format has_post_format()
* @link http://codex.wordpress.org/Function_Reference/is_active_sidebar is_active_sidebar()
* @link http://codex.wordpress.org/Function_Reference/is_archive is_archive()
* @link http://codex.wordpress.org/Function_Reference/is_attachment is_attachment()
* @link http://codex.wordpress.org/Function_Reference/is_home is_home()
* @link http://codex.wordpress.org/Function_Reference/is_single is_single()
*
* @package Oenology
* @copyright Copyright (c) 2010, Chip Bennett
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License, v2 (or newer)
*
* @since Oenology 1.0
*/
?>

<?php
/**
* Include the header template part file
*
* MUST come first.
* Calls the header PHP file.
* Used in all primary template pages
*
* @see {@link: http://codex.wordpress.org/Function_Reference/get_header get_header}
*
* Child Themes can replace this template part file globally, via "header.php",
* or in a specific context only, via "header-{context}.php"
*/
get_header( oenology_get_context() );
?>

<!-- Begin Main (div#main) -->
<?php
/**
* div#main contains the center column content of the three-column
* layout, and the left-column content of the two-column layout.
* Generally, this column contains the main content of the page
* (blog post/posts, page content, search results, etc.), and
* contains the WordPress "Loop". For other non-WordPress pages
* (or any page not containing the "Loop") the site structure
* can be kept consistent by replacing "loop.php" with whatever
* file (or static content) is desired.
*/
?>
<div id="main">
<?php
/**
* Include the loop template part file
*
* Codex reference: {@link http://codex.wordpress.org/Function_Reference/get_template_part get_template_part}
*
* get_template_part( $slug ) will attempt to include $slug.php.
* The function will attempt to include files in the following
* order, until it finds one that exists: the Theme's $slug.php,
* the parent Theme's $slug.php
*
* get_template_part( $slug , $name ) will attempt to include
* $slug-$name.php. The function will attempt to include files
* in the following order, until it finds one that exists: the
* Theme's $slug-$name.php, the Theme's $slug.php, the parent
* Theme's $slug-$name.php, the parent Theme's $slug.php
*
* Child Themes can replace this template part file globally,
* via "loop.php", or in a specific context only, via
* "loop-{context}.php"
*/
get_template_part( 'loop', oenology_get_context() );
?>
</div>
<!-- End Main (div#main) -->

<?php
/**
* Include the sidebar template part file
*
* Calls a sidebar template part file.
* Used in all primary template pages, except static Pages.
*
* Codex reference: http://codex.wordpress.org/Function_Reference/get_sidebar
*
* Child Themes can replace this template part file globally,
* via "sidebar.php", or in a specific context only, via
* "sidebar-{context}.php"
*/
get_sidebar( oenology_get_context() );
?>
<?php
/**
* Include the footer template part file
*
* MUST come last.
* Calls the footer PHP file.
* Used in all primary template pages
*
* Codex reference: {@link http://codex.wordpress.org/Function_Reference/get_footer get_footer}
*
* Child Themes can replace this template part file globally, via "footer.php",
* or in a specific context only, via "footer-{context}.php"
*/
get_footer( oenology_get_context() );
?>
Something went wrong with that request. Please try again.