Your account expired support, please renew to get your support.

Support Forum Forums Mixxcazt – Creative Multipurpose WooCommerce Theme How change ‘product-brand’ slag on different

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2687
    weberto
    Support Expired

    Hi,
    How can I change the name “product-brand” in the URL for the other name?
    Example: product-brand/aprilia/ -> brand/aprilia/

    #2691

    Hi you,

    Please copy and paste this code to file functions.php ( child-theme):

    add_filter( 'register_taxonomy_args',  'mixxcazt_change_product_brand_slug' );
    function mixxcazt_change_product_brand_slug($args){
        $args['rewrite']['slug'] = 'brand';
        return $args;
    }

    Then go to Settings -> Permalink Settings -> Save changes

    #2799
    weberto
    Support Expired

    Hi,
    After add this code, I get 404 error page not found. I tried to update permalinks in wordpress and nothing.

    #2801

    Please send admin web account for me, I will check and try to help you.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.