Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Custom Post Type zu Loop hinzufügen

Custom Post Types zum Standart Loop hinzufügen.

http://www.wprecipes.com/how-to-display-custom-post-types-on-your-wordpress-blog-homepage/

add_filter( 'pre_get_posts', 'my_get_posts' );

function my_get_posts( $query ) {
	if ( is_home() )
		$query->set( 'post_type', array( 'post', 'page', 'album', 'movie', 'quote', 'attachment' ) );

	return $query;
}