Home › Support Forums › Theme Support › Enlightenment › Custom post type and custom taxonomy › Reply To: Custom post type and custom taxonomy
Daniel Tara
Keymaster
You can use the 'enlightenment_entry_content'
hook for that. Here’s an example:
Place this code in your child theme’s functions.php file:
function enlightenment_clild_meta_field() { $value = get_post_meta( get_the_ID(), 'field_name', true ); printf( __( 'Field Name: %s', 'enlightenment-child' ), esc_attr( $value ) ); } add_action( 'enlightenment_entry_content', 'enlightenment_clild_meta_field', 12 );