Exclude Categories From Home Page

It would seem logical that you would want to exclude some categories posts from showing up in your main blog or home page, WordPress however by default  will show all posts from all categories in the main blog page making your main blog a mix of all sorts, if you would like to overcome this the solution below is the best if have found.

In your index.php you will see some code like this:

<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
(Stuff that displays the posts)
<?php endwhile; ?>
<?php else : ?>
(Stuff to show if no posts were found)
<?php endif; ?>

To exclude categories you need to tell WordPress before all of that what to exclude:

<?php
if (is_home()) {
$page = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
query_posts(“paged=$page&cat=-1,-2,-3”);
}
?>

This will exclude categories 1,2,3

Hate Internet Explorer ?

Why are people still using this incredibly useless browser? I can only assume they are unaware that they are missing out on half of what the web has to offer, many web developers are not developing for IE these days and if you are a web designer you will probably know why, you spend many valuable hours working on your web project getting it to look good you have coded your pages to w3c standards and your ready to test, looks fine in Firefox, Chrome, Safari, even Opera but lets have a look at IE, it’s all messed up like a Picasso “WTF” , so now you need to spend time searching the world wide web for hacks and patches to try and accommodate crappy IE, it’s a bit like buying a new car and before you can drive it you have to go to the breakers yard to put fake parts on it to make it road worthy, the sooner the grim reaper comes calling for IE and finally puts it in it’s grave the better and then all us web designers can shout HURRAH !!!!!!! but in the mean time if you would like to share some IE fix’s  for our frustrated clan then please feel free.