Skip to content

Instantly share code, notes, and snippets.

@kristarella
Created September 12, 2012 23:25
Show Gist options
  • Save kristarella/3710728 to your computer and use it in GitHub Desktop.
Save kristarella/3710728 to your computer and use it in GitHub Desktop.
Thesis single post title above post & sidebars
function remove_headline() {
return (is_single()) ? false : true;
}
add_filter('thesis_show_headline_area', 'remove_headline');
function large_headline() {
global $wp_query;
$post_ID = $wp_query->post->ID;
if (is_single()) {
?>
<div class="headline_area">
<h1 class="entry-title"><?php echo get_the_title($post_ID); ?></h1>
<?php thesis_byline(''); ?>
</div>
<?php
}
}
add_action('thesis_hook_before_content_box','large_headline');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment