07/04/2018 at 9:34 am
#466806
Keymaster
@ Annette
That label option is only for displaying the label in the custom field metabox. It is up to you to add the label to the template if you want one.
For example, change this line:
if ( ! empty( $text ) ) echo '' . esc_html( $text ) . ''; ?>
to
if ( ! empty( $text ) ) echo 'My Custom FieldLabel: ' . esc_html( $text ) . ''; ?>
Hope that help!
