Created
September 4, 2013 03:35
-
-
Save scottnix/6432506 to your computer and use it in GitHub Desktop.
Thematic show Excerpt on Home/Blog
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
// show excerpt post instead of excerpt on homepage | |
function childtheme_thematic_content($content) { | |
if ( is_front_page() || is_home() ) { | |
$content= 'excerpt'; | |
} | |
return $content; | |
} | |
add_filter('thematic_content', 'childtheme_thematic_content'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment