This resource is an ongoing work in progress. Please feel free to contact me with additions.
The following blocks of code are added to the functions.php file of your Thematic child theme.
Add a theme specific favicon:
// Add favicon for child theme.
function childtheme_favicon() { ?>
<link rel="shortcut icon" href="<?php echo bloginfo('stylesheet_directory') ?>/favicon.ico" />
<?php }
add_action('wp_head', 'childtheme_favicon');
Replace the usual blog title (text) with a logo (image).
// Remove blog title from header.
function remove_thematic_blogtitle() {
remove_action('thematic_header','thematic_blogtitle', 3);
}
add_action('init','remove_thematic_blogtitle');
// Add logo to header.
function child_logo_image() {
?>
<a href="/" title="">
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo.png" alt="" class="logo-custom" />
</a>
<?php
// End Example
}
add_action('thematic_header','child_logo_image', 3);
