Site News

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?

Zoo Updates All Day Long

If you were checking the site all day today you would notice that we kept updating with what was going on with our Zoo trip today. On the top right corner is my Twitter feed... though I am having troubles formatting it correctly.

Hacked

We were recently hacked. I am trying to mitigate damage as I write this. Hopefully I'll have Internet access back at home real soon so I can properly fix everything.

Site Back Up

Thanks to the wonderful people at my host, A Small Orange, we are back online after a few sketchy days.
A reminder, the site will be down for a little soon as I upgrade to the new version of WordPress once it comes out. It should be out the 10th, though I may wait until that weekend.

Theme Change and Update Coming

I changed themes again (a few times today actually as I tested various ones out).
I'll probably update WordPress itself here real soon. I spent this morning updating the themes and plugins to make sure they are up to date, though I may wait until 2.5 comes out in a few days.
The host seems to be having issues, so if this site doesn't show up, or a post doesn't on a try, try again and it usually will load. This was happening with all themes I tried today... of course if it isn't loading then you may not be seeing this post in the first place. ;)

Blockquotes Fixed

I finally fixed the overly light text on block quotes, so they should be easier to read now. Sorry for the overly long delay on that one.

Intense Debate Off for the Moment

I turned off Intense Debate for the moment.
It will return.

Meanwhile, in unrelated news, it seems over half the Internet isn't available to us at the moment. Road Runner must be having big DNS issues. I can guarantee if I called about it they would say they weren't having any issues.

New Look

I decided to use a new theme for a while at least. I'll get some of the things back on in a bit. This theme is GStyles by milo, check out his other themes.
I know about the error on individual post pages. I am tracking that error down now...
EDIT: I did some editing of some of the PHP files and fixed the post2cat errors, though it is just a temporary fix. I need to dive further into some of the other files to find out how to fix the error at the root, though that may be above my PHP editing level...
EDIT 2: I got tags working on most of the posts with yet more editing of the PHP files. For some reason, the posts of the last few days are not showing tags, and to be honest, I didn't tag them, but the other posts seem to have converted their categories to tags, and when I tried again, it says there are none to convert. I also want to drop the General category from the tags, but I am off to bed now.