Skip to content

Instantly share code, notes, and snippets.

@scottnix
Created September 21, 2012 05:11
Show Gist options
  • Save scottnix/3759830 to your computer and use it in GitHub Desktop.
Save scottnix/3759830 to your computer and use it in GitHub Desktop.
Post Format aside, remove link from title in Thematic
function childtheme_custom_postheader($postheader) {
if ( has_post_format( 'aside' ) && ! is_single()) {
$postheader = '<h2 class="entry-title">';
$postheader .= get_the_title();
$postheader .= '</h2>';
}
return $postheader;
}
add_filter ('thematic_postheader', 'childtheme_custom_postheader');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment