0

Currently, Posts have "tags" and in the post edit page you can add and remove tags using the widget.

I would like to add another such tag-system (say, keywords) and I would like for it to use the tag interface to add and remove tags.

Suggestion on how I should go about this ?

  • In addition to or in replace of the native support for tags? – Brad Dalton Jan 6 '14 at 12:46
0

You'll need to use register_taxonomy with hierarchical set to false:

function add_custom_taxonomies() {
// Add new "Locations" taxonomy to Posts
register_taxonomy('keyword', 'post', array (
        'hierarchical' = false
    ));
}
add_action( 'init', 'add_custom_taxonomies', 0 );

For more information: - Wordpress API - Tutorial @ Smashing magazine

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.