<?php $custom_fields = get_post_custom(); foreach ( $custom_fields as $field_key => $field_values ) { foreach ( $field_values as $key => $value ) echo $field_key . ' - ' . $value . '<br />'; } ?> <?php echo get_post_meta( get_the_ID(), 'custom-field-slug', true ); ?>