• Hi everybody!

    I’m using Woocommerce. I added a custom product category by adding this code to the functions.php file:

    register_taxonomy(
    ‘manufacturer’,
    ‘product’,
    array(
    ‘label’ => __( ‘Manufacturer’ ),
    ‘show_tagcloud’ => false,
    ‘hierarchical’ => true,
    ‘rewrite’ => array( ‘slug’ => ‘manufacturer’ ),
    ‘capabilities’ => array(
    ‘assign_terms’ => ‘edit_guides’,
    ‘edit_terms’ => ‘publish_guides’
    )
    )
    );

    But when I created file taxonomy-manufacturer.php file in my theme folder, it wasn’t identified (404 error).

    Help, please 🙂

The topic ‘Woocommerce custom categories’ is closed to new replies.