thesis_hook_custom_template

Description

Used to customize the appearance of the Custom Template (custom_template.php).

Source Position

<div id="content_box">
	thesis_hook_custom_template
</div>

Default Functions

The following functions are added to this hook by default:

  • thesis_custom_template_sample

Example

function custom_template() {
	if (is_page('46')) { ?>

	<div id="content">
	<div id="post-<?php the_ID(); ?>" class="post_box top">
	<div class="headline_area">
		<h2>Your Headline</h2>
	</div>
	...This is where your content goes...
	</div>
	</div>
	<div id="sidebars">
	<?php thesis_build_sidebars(); ?>
	</div>		

	<?php } 
}

remove_action('thesis_hook_custom_template', 'thesis_custom_template_sample');
add_action('thesis_hook_custom_template', 'custom_template');