Twitter updates re-enabled


I’ve started using Alex King’s fabulous Twitter Tools again.  I’ve used it in the past to great effect but was disturbed by how noisy it made my blog – normal posts got lost in a sea of tweets that most people could care less about – and so I turned it off.

I’ve just taken the time to discover the query_posts() template function for WordPress and used it to exclude my tweets from the main page (and soon, the RSS feed):

Insert the following into your index.php before the “have_posts()” section:

<?php
if (is_home()) {
query_posts($query_string . “&cat=-42”);
}
?>

In this case, I’m excluding my tweets category (42) from the main home page.

Now, sitting back and enjoying the best of both worlds – cake, and eating it too 🙂

Update: Now using the Simply Exclude plugin to exclude the tweets from the front page and RSS feeds.

,