Adding fields to Categories
-
Hi all..
Anyway that you can add an additional field to a WP category? I can add it in the DB and I can add it in the form but I can’t find the function that populates the database with a new category. I’d like to add a “date created” to each category. Maybe there is a plugin for this? Obviously that would be better so it would not break on update.
So far I’ve only been able to mod the edit-category-form.php to add:
<tr class=”form-field”>
<th scope=”row” valign=”top”><label for=”category_date”><?php _e(‘Category Date’) ?></label></th>
<td><input name=”category_date” id=”category_date” type=”text” size=”40″ />
<?php _e(‘The event date is the first day of the event. Please use format yyyy-mm-dd.’); ?></td>
</tr>Any help would be awesome
- The topic ‘Adding fields to Categories’ is closed to new replies.