[wp-hackers] Adding meta data to categories
a.haakmat at chello.nl
Fri Jan 9 01:13:36 GMT 2009
09/01/09 00:28, Dan Gayle <dangayle at gmail.com> wrote:
> The categories page in the admin doesn't appear to have any hooks that
> we could latch onto to create extra inputs, and if we figure out that
> part, which database table would be the best table to add the info to?
I ran into this issue as well. As a curiosity I posted a patch here
last week which addresses this issue by adding a 'flags' column to the
wp_terms table. Tags/flags are stored in this column as a
comma-separated list. This is not ideal for a number of reasons, but
if implemented as a MySQL ENUM type SQL query semantics could be
preserved and it would also be very space and time efficient.
I didn't think to use Mike's suggestion of using the term system to
tag categories. It sounds quite elegant if perhaps a bit indirect.
Having such functionality would I think certainly be useful.
More information about the wp-hackers