}
/* Omit closing PHP tag to avoid "Headers already sent" issues. */
-// add_action('wp', 'check_home');
-// function check_home() {
-// if(is_home() || is_category()) {
-// function modify_widget() {
-// $r = array( 'cat' => '-70');
-// return $r;
-// }
+add_action('wp', 'check_home');
+function check_home() {
+ if(is_home() || is_category()) {
+ function modify_widget() {
+ $r = array( 'cat' => '-70');
+ return $r;
+ }
-// add_filter('widget_posts_args','modify_widget');
-// }
-// }
\ No newline at end of file
+ add_filter('widget_posts_args','modify_widget');
+ }
+}
\ No newline at end of file