Custom Post Type and Taxonomy combination

// Add the new post_type and taxonomy add_action(‘init’, function(){ // Add a post_type named ‘testype’ register_post_type($postype=”testype”, $arguments = array( ‘name’ => $postype, ‘label’ => ‘Test’, ‘public’ => true, ‘exclude_from_search’ => true, ‘capability_type’ => ‘post’, ‘supports’ => array( ‘title’, ‘excerpt’, ‘editor’, ‘custom-fields’, ‘comments’, ), ‘show_in_nav_menus’ => false, ‘hierarchical’ => false, ‘publicly_queryable’ => true, ‘rewrite’ => array( … Read more

How To Capitalize Entries In the Taxonomy Box?

PHP has a function that does EXACTLY what you’re looking for, ucwords(). Leave the CSS capitalize on there, so that the users know it will be auto-capitalized, and then when you’re filtering the input (which you should be doing ANYWAYS, since it’s user input, run it through ucwords() right before database insertion.