Format custom post types on homepage
-
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?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Format custom post types on homepage’ is closed to new replies.