Possible Duplicate:
Adding Custom Field to Taxonomy Input :Panel
I created a custom post type with a taxonomy associated. When I add new item for my taxonomy, I get name, slug and description. I want a new field in there, because I also need to add a image in my taxonomy.php file
This is what I use to get the name and description:
<?php
if(isset($wp_taxonomies)) {
$term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
if($term) {
echo '<h1>'.$term->name.'</h1>';
?> <img class="alignright" alt="<? echo $tax_term->name; ?>" src="<? echo $term->description; ?>" /> <?php
}
}
?>
Can you tell my how can I hook a new textarea in my custom taxonomy and get-it in my taxonomy page?
Thank you!