Add a new checkbox in theme options
To answer the first part of your question: your settings form already has the checkbox case covered; so if you add a new checkbox input, you don’t need to add anything to the switch. This code will apply to all checkbox inputs you add: case ‘checkbox’: ?> <input type=”checkbox” name=”vertigo_theme_options[<?php echo esc_attr( $option[‘id’] ); ?>]” … Read more