Thank you for this great tutorial. I managed to add additional columns to my custom taxonomy. But now I would have to add a column which contains a BUTTON (and not just passive data). Clicking the button should change the value of a custom field for the custom taxonomy.
My initial solution was to duplicate the default edit taxonomy term form, with hidden fields for the data and a visible submit button. But then I realized that this would create a nested form, since the whole taxonomy term table is wrapped in a form called “posts-filter” (and forms can’t be nested).
If you have any ideas on how to accomplish this custom column with button, it would be highly appreciated!
Hmmm, how about just expanding the Quick Edit menu? Otherwise, I suppose we could make each button into a submit button (no form, just the button) and then hook into the relevant form function. But that seems a bit messy.
First of all congratulations on so informative web site. I found a lot of useful stuff here. Thanks!
I have one question. I am creating a simple catalog of products. Idea is that product has an thumbnail image a description and simple gallery (using media from wp). Products can be sorted in different categories.
I’ve created custom taxonomy “Categories” for product. The problem I have is how to attach image to each category? So that when I do category list I can do image grid?
Could you please either create a post or explain to all of us how on gods earth it is possible to add a custom input field to a taxonomy… this is something which is driving me absolutely crazy!!!
Yeah, that will be a good article to write. In the meantime, the following two articles contains all the relevant information although not in the most straight-forward fashion -
Hi!
Thank you for this great tutorial. I managed to add additional columns to my custom taxonomy. But now I would have to add a column which contains a BUTTON (and not just passive data). Clicking the button should change the value of a custom field for the custom taxonomy.
Maybe it’s easier to show it with an image (“Issue” is the custom taxonomy; I’m trying to do an issue-based publishing system):
http://img442.imageshack.us/img442/669/customcol.png
My initial solution was to duplicate the default edit taxonomy term form, with hidden fields for the data and a visible submit button. But then I realized that this would create a nested form, since the whole taxonomy term table is wrapped in a form called “posts-filter” (and forms can’t be nested).
If you have any ideas on how to accomplish this custom column with button, it would be highly appreciated!
Gabor
Hmmm, how about just expanding the Quick Edit menu? Otherwise, I suppose we could make each button into a submit button (no form, just the button) and then hook into the relevant form function. But that seems a bit messy.
Hey!
First of all congratulations on so informative web site. I found a lot of useful stuff here. Thanks!
I have one question. I am creating a simple catalog of products. Idea is that product has an thumbnail image a description and simple gallery (using media from wp). Products can be sorted in different categories.
I’ve created custom taxonomy “Categories” for product. The problem I have is how to attach image to each category? So that when I do category list I can do image grid?
Thank you for your answer in advance,
Matic
The Shiba Media Library plugin allows attachment of images to tags. You can look at that and expand it to attach images to categories.
Thanks for this tutorial. Your site has a ton of stuff. It seems like every time I search, your tutorials come up.
I hacked in a color code for each term in a taxonomy and used your example to display it along side the other details.
Could you please either create a post or explain to all of us how on gods earth it is possible to add a custom input field to a taxonomy… this is something which is driving me absolutely crazy!!!
Yeah, that will be a good article to write. In the meantime, the following two articles contains all the relevant information although not in the most straight-forward fashion -
How to add meta-data to custom taxonomy objects.
How to expand the Edit Taxonomy Object interface.