Hi there - I'm trying to override the content_init. Want to just have excerpts on the home page. It's working fine on the site itself, but whenever I go to "wp-admin" all I get is a blank screen. I can't figure out what I'm doing wrong!!
function childtheme_override_content_init() {
global $thematic_content_length;
$content = '';
$thematic_content_length = '';
if (is_home() || is_front_page()) {
$content = 'excerpt';
} elseif (is_single()) {
$content = 'full';
} elseif (is_tag()) {
$content = 'excerpt';
} elseif (is_search()) {
$content = 'excerpt';
} elseif (is_category()) {
$content = 'excerpt';
} elseif (is_author()) {
$content = 'excerpt';
} elseif (is_archive()) {
$content = 'excerpt';
}
$thematic_content_length = apply_filters('thematic_content', $content);
}
add_action('thematic_abovepost','childtheme_override_content_init');