Any examples of adding custom fields to the category editor?
No. You have to use wp_options, because you can’t create new fields in the wp_term_taxonomy table (If you do, in the next WP update you’ll loose them). So: // the option name define(‘MY_CATEGORY_FIELDS’, ‘my_category_fields_option’); // your fields (the form) add_filter(‘edit_category_form’, ‘my_category_fields’); function my_category_fields($tag) { $tag_extra_fields = get_option(MY_CATEGORY_FIELDS); ?> <table class=”form-table”> <tr class=”form-field”> <th scope=”row” valign=”top”><label … Read more