Radio buttons in widget not saving
Got it, it turns out… The label for each radio button must be the field id / variable, in my example is ‘radio_buttons’ The IF statement for each radio button must refer to this same ID – $radio_buttons === ‘radio_option_1’ & $radio_buttons === ‘radio_option_2’ My new code which works is… <p> <label for=”<?php echo $this->get_field_id(‘text_area’); … Read more