'
',
'after_widget' => '',
'before_title' => '',
'after_title' => '',
));
function exclude_category($query) {
if ( $query->is_home ) {
$query->set('cat', '-3, -4');
}
return $query;
}
add_filter('pre_get_posts', 'exclude_category');
add_theme_support( 'post-thumbnails' );
function get_the_news ($more_link_text = '(more...)', $stripteaser = 0, $more_file = '') {
$content = get_the_content($more_link_text, $stripteaser, $more_file);
$content = apply_filters('the_content', $content);
$content = str_replace(']]>', ']]>', $content);
return $content;
}
?>