I want to remove the hook to add the blog title in the header and then add my own.
I added the following in my functions.php file in the child theme folder:
function remove_blogtitle() {
remove_action('thematic_header','thematic_blogtitle',3);
}
add_action ('thematic_header', 'remove_blogtitle',3);
function blogtitle_image() { ?>
<div id="blog-title"><span><a>/" title="<?php bloginfo('name') ?>" rel="home"><?php bloginfo('name') ?><img src="image.png" /></a></span></div>
<?php }
add_action('thematic_header', 'blogtitle_image');
?>
The new function I created works, but the original blogtitle action (found in header-extensons.php) is now displayed twice.
So why does it not remove the hook, and why does it now display it twice?
Thanks