Wordpress Theame Taxonomies not working

How to create a taxonomies in child theme in word press.

Are you referring to a custom taxonomy? If so, you should be able to add the code for the custom taxonomy to the functions.php file of the child theme. Have you tried that yet? We need to know how far you have gotten in your attempt to do this, before we can help you.

I will try this code for function.php:

function people_init() {
 // create a new taxonomy
 register_taxonomy(
  'people',
  'post',
  array(
   'label' => __( 'People' ),
   'rewrite' => array( 'slug' => 'person' ),
   'capabilities' => array(
    'assign_terms' => 'edit_guides',
    'edit_terms' => 'publish_guides'
   )
  )
 );
}
add_action( 'init', 'people_init' );

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.