Ari and Sidd Got Haircuts

Seems Ari’s haircut for the wedding wasn’t enough. Today Ari and Sidd both got drastic haircuts. If I can ever find my webcam, I’ll take some pics of them and post them up.
Sidd looks more like the bruiser I see him becoming (if he ever starts walking anyhow). And Ari… well Ari still looks like Ari, just with short hair.
Sidd got basically a buzz cut, Ari’s hair is just really short.

Trying to Block Some Posts from the Front Page

Calling all WordPress Gurus.
I am trying to block posts from a category from showing up on the front page. I tracked the category number down and put this code at the end of my functions.php file, but they are still showing up.

PHP:
  1. // remove from home page
  2. function exclude_category($query) {
  3. if ( $query->is_home ) {
  4. $query->set(‘cat’, ‘-11');
  5. }
  6. return $query;
  7. }
  8. add_filter(‘pre_get_posts’, ‘exclude_category’);
  9. // remove from home page

Am I supposed to put a call to this in my Index.php? Or am I missing something? Did they change how this works with WP 3?