Professional Website Design & Development at an affordable price.

Copy the code below, in your functions.php. If your theme doesn’t have one, just create the file yourself. Now, this is the code you have to write for each taxonomy you are creating:

<?php register_taxonomy('test', 'post', array('hierarchical' => false,  'label' => 'test','query_var' => true, 'rewrite' => true));?>

Using the new taxonomies

We have created them, but as well as tags and categories, you need some code if you want to output them in your article. That’s a little code snippet that goes into your WordPress loop, just like the post tags and categories:

<?php get_the_term_list($post->ID,'people','People: ', ', ', "); ?>

Slider by webdesign