Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author miunosoft

    (@miunosoft)

    Hi Manfred,

    Indeed the label argument is taken for the selector option labels. You may use the before_field argument instead to insert your custom text label.

    Try inserting something like this in your field definition array of selector type fields.

    'before_field' => '<p style="margin-bottom: 0.4em;"><strong>' . __( 'My Label' ). '</strong></p>',
    Thread Starter Manfred Kipfelsberger

    (@manfred-kipfelsberger)

    Great. I already thought about that after reading your answer to my question for inserting a no-submit button. Thanks.

    Plugin Author miunosoft

    (@miunosoft)

    You’re welcome! Glad it helped.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to attach a label to a select field’ is closed to new replies.