thesis_hook_header

Description

Determines the content of div#header.

Source Position

<div id="header">
		<p id="logo"><a href="http://diythemes.com/answers">DIYthemes Answers</a></p>
		<p id="tagline">Thorough Answers to Common Tasks with the Thesis Theme</p>
		thesis_hook_header
</div>

Default Functions

The following functions are added to this hook by default:

  • thesis_default_header

Example

function custom_header() { ?>
  <p id="logo"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></p>
  <h1 id="tagline"><?php bloginfo('description'); ?></h1>
  <?php 
}
remove_action('thesis_hook_header', 'thesis_default_header');
add_action('thesis_hook_header', 'custom_header');