Saving fields in a drop-down in WordPress
This is the code from the WordPress core code – line 580: <label class=”screen-reader-text” for=”page_template”><?php _e(‘Page Template’) ?></label> <select name=”page_template” id=”page_template”> <option value=”default”><?php _e(‘Default Template’); ?></option> <?php page_template_dropdown($template); ?> </select> The only thing different from your code is <option value=”default”>. So I don’t think your code is the problem. Also the code for page_template_dropdown isn’t … Read more