Created
June 25, 2010 03:37
-
-
Save hunk/452361 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'init', 'create_book_taxonomies', 0 ); | |
function create_book_taxonomies() { | |
register_taxonomy( | |
'category_hunker', | |
'post', | |
array( | |
'hierarchical' => true, | |
'show_ui' => true, | |
'query_var' => true, | |
'label' => 'hunker', | |
'query_var' => false, | |
'rewrite' => false | |
) | |
); | |
} | |
add_action('admin_head', 'custom_admin_style'); | |
function custom_admin_style() { | |
printf('<link rel="stylesheet" type="text/css" href="%s/taxonomy.css" />',get_bloginfo('template_url')); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment