Custom theme options Radio inputs not saving
Why isn’t the following option getting saved? Have been searching for quite some time and can’t get it to work. Settings code: add_settings_section( ‘aa_myoption_section’, null, null, ‘mypage-options’ ); add_settings_field( ‘aa_myoption’, null, ‘aa_myoption_interface’, ‘mypage-options’, ‘aa_myoption_section’, ); register_setting ( ‘myoptions_group’, ‘aa_myoption’ ); aa_myoption_interface function: $options = get_option( ‘aa_myoption’ ); echo ‘debug: ‘ . $options; <input id=”first_radio” type=”radio” … Read more