WAS if ( $keys = get_post_custom_keys() ) { echo "\n"; NOW if ( $keys = get_post_custom_keys() ) { foreach ( $keys as $key ) { $keyt = trim($key); if ( '_' == $keyt{0} ) continue; echo "\n"; }