Created
September 21, 2012 05:11
-
-
Save scottnix/3759830 to your computer and use it in GitHub Desktop.
Post Format aside, remove link from title in Thematic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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