diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 82c7dd9372..181f360b90 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -313,6 +313,7 @@ function get_post_class( $class = '', $post_id = null ) { $classes[] = 'post-' . $post->ID; $classes[] = $post->post_type; + $classes[] = 'type-' . $post->post_type; // sticky for Sticky Posts if ( is_sticky($post->ID) && is_home())