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 do_atomic( 'before_header' ); // firewood_before_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
add_action( 'after_setup_theme', 'firewood_entry_class' ); | |
/** | |
* Provides classes for the post contianer based on context. | |
* | |
* @since 1.0 | |
* @credit Original script hybrid_entry_class via Hybrid Core 1.3.1 | |
*/ | |
function firewood_entry_class( $class = '', $post_id = null ) { | |
static $post_alt; |
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
add_action( "{$prefix}_open_entry", 'firewood_entry_header' ); | |
/** | |
* Default entry header for posts. | |
* | |
* @since 1.0 | |
*/ | |
function firewood_entry_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
add_action( "{$prefix}_close_entry", 'firewood_entry_meta' ); | |
/** | |
* Displays the default entry metadata. | |
* | |
* @since 1.0 | |
*/ | |
function firewood_entry_meta() { | |
$entry_meta = ''; |
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
/* Deregister WordPress jQuery on the frontend */ | |
add_action( 'wp_enqueue_scripts', 'firewood_remove_jquery' ); | |
/** | |
* Deregister WordPress jQuery, Google hosted jQuery is added manually with a local fallback. | |
* | |
* @since 1.0 | |
*/ |
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
/* Add post navigation links */ | |
add_action( "{$prefix}_close_content", 'firewood_loop_nav' ); | |
/** | |
* Loads the loop-nav.php template. | |
* | |
* @since 1.0 | |
*/ | |
function firewood_loop_nav() { |
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 | |
/* | |
* The loop error template part | |
* | |
* @since 1.0 | |
* @package firewood | |
* @subpackage Loop Part | |
*/ | |
?> | |
<div class="<?php firewood_entry_class(); ?>"> |
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 | |
/* | |
* The searchform template | |
* | |
* @since 1.0 | |
* @package firewood | |
* @subpackage Template | |
*/ | |
?> |
OlderNewer