http://net.tutsplus.com/tutorials/wordpress/introducing-wordpress-3-custom-taxonomies/

Add this in function.php to create our own custom taxonomy.


register_taxonomy( 'ram', 'post', array( 'hierarchical' => true, 'label' => 'RAM', 'query_var' => true, 'rewrite' => true ) );

register_taxonomy( 'hard_drive', 'post', array( 'hierarchical' => true, 'label' => 'Hard Drive', 'query_var' => true, 'rewrite' => true ) );

Advertisements