Custom post type code hides navigation

It looks like you’re overwriting the nav menu query. By adding the ! is_admin() and $query->is_main_query() conditionals, you can ensure that you’re targeting the main query for posts on the front end.

add_filter( 'pre_get_posts', 'my_get_posts' );
function my_get_posts( $query ) {

 if ( ! is_admin() && $query->is_main_query() && is_home() )
    $query->set( 'post_type', array( 'post', 'page', 'album', 'movie', 'quote', 'attachment' ) );

return $query;
}