Custom taxonomies with extended tag fields?
I’m working on a project that required custom post types and custom taxonomies. What I’d like to do is add additional fields to one of the custom taxonomies so they appear on the edit tag page.
For example, say I want to have a taxonomy for Author under the custom post type “library. I’d register a taxonomy like this:
register_taxonomy( 'authors', 'library', array( 'hierarchical' => false, 'label' => 'Author', 'query_var' => false, 'rewrite' => array( 'slug' => 'author' ) )'
Is there any way to make it so I have the options of adding a field on the edit tag page for Author that would be “author_url” where I could enter a corresponding url to the author’s personal site or wikipedia entry? If I could do this, then I could use the custom taxonomy to pass additional info into boxes on each page.
Any help is appreciated. Thanks!
- The topic ‘Custom taxonomies with extended tag fields?’ is closed to new replies.