function split_combined_mimes_for_apt( $mime_types ) { foreach ( $mime_types as $regex => $mime_type ) { if ( false !== strpos( $regex, '|' ) ) { $keys = explode( '|', $regex ); foreach ( $keys as $key ) { $mime_types[ $key ] = $mime_type; } } } return $mime_types; } add_filter( 'mime_types', 'split_combined_mimes_for_apt' ); //概要(抜粋)の文字数調整 function my_excerpt_length($length) { return 160; } add_filter('excerpt_length', 'my_excerpt_length');