I'm trying to make custom post types display different on my blog's main page. I was trying to use this:
<?php while (have_posts()) : the_post(); ?> <div class="clearfloat <?php get_post_type() ?>">
But that isn't doing anything.
Is there any way to change the post class for different custom post types?