This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Theme Name: Oenology | |
Theme URI: http://www.chipbennett.net/themes/oenology | |
Description: Oenology is designed to be a simple, minimalist, yet feature-complete and fully documented Theme intended to serve as a base for child Themes and as an educational reference for Theme development using WordPress functions, action/filter hooks, and template tags. The Theme includes built-in breadcrumb navigation, and supports Post Formats, Navigation Menus, Post Thumbnails, Custom Backgrounds, Custom Image Headers, and Custom Editor Style. The Theme includes plug-and-play support for the WP-Paginate and Yoast Breadcrumbs plugins. <strong>Requires WordPress 3.1, and is compatible up to WordPress 3.2.</strong> | |
Version: 2.4 | |
Author: Chip Bennett | |
Author URI: http://www.chipbennett.net/ | |
Tags: fixed-width, white, black, tan, green, one-column, two-columns, three-columns, custom-header, custom-background, custom-menu, editor-style, featured-images, full-width-template, left-sidebar, post-formats, right-sidebar, sticky- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Custom is_tree() Conditional Tag | |
* | |
* Conditional tag that returns true if the current static Page | |
* is within a page hierarchy; that is. | |
* | |
* Derived from code originally posted as Example #4 of the Testing for Sub-Pages | |
* section of the Conditional Tags page in the WordPress Codex. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== Bundled Fonts == | |
= TeXGyre Schola Font = | |
TexGyre Schola Font, Copyright 2005, 2006 C. R. Holder | |
* Source: http://www.fontsquirrel.com/fonts/TeX-Gyre-Schola | |
* License: GUST Font License (GFL) (GPL-compatible) | |
* License URI: /fonts/GUST-FONT-LICENSE.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Theme Name: Oenology Child | |
Description: Child theme for the Oenology theme | |
Template: oenology | |
Version: 1.0 | |
*/ | |
@import('../oenology/style.css'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Header Template Part | |
* | |
* Template part file that contains the HTML document head and | |
* opening HTML body elements, as well as the site header and | |
* "infobar". | |
* | |
* This file is called by all primary template pages | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function oenology_enqueue_comment_reply() { | |
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { | |
wp_enqueue_script( 'comment-reply' ); | |
} | |
} | |
add_action( 'wp_enqueue_scripts', 'oenology_enqueue_comment_reply' ); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function themename_setup() { | |
add_theme_support( 'post-thumbnails' ); | |
} | |
add_action( 'after_setup_theme', 'themename_setup' ); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Template part file that contains the WordPress Loop | |
* | |
* Contains Loop header, Loop content, and Loop footer. | |
*/ | |
?> | |
<!-- Begin Loop Header (div#loop-header) --> | |
<div id="loop-header"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_theme_support( 'post-thumbnails' ); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Action hook before content within div.post | |
* | |
* This action hook fires before content is output in the div.post container. It | |
* can be used to add content before post content is output. | |
* | |
* Template file: loop.php | |
* | |
* @uses do_action() |