Brand URL modification - by 3ejoueur - on WordPress WooCommerce support

This topic has 4 replies, 3 voices, and was last updated 8 years, 6 months ago ago by Jack Richardson

  • Avatar: 3ejoueur
    3ejoueur
    Participant
    September 21, 2015 at 20:02

    Hi Guys,

    I build a page like your page https://www.8theme.com/demo/woopress/handtools/brand/alterego/

    I would like to know if there is a way to change the “brand” in this url ?? On my site the url is http://gmd.3ejoueur.com/brand/kozi/

    i would like to be something like that http://gmd.3ejoueur.com/manufacturier/kozi/

    Thanks for the help

    3 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    September 21, 2015 at 21:25

    Hello,

    You can change Brand slug in \themes\woopress\framework\woo.php file on line 585
    Please replace this code
    'rewrite' => array( 'slug' => 'brand' ),
    to
    'rewrite' => array( 'slug' => 'manufacturier' ),

    After that navigate to Dashboard->Settings->Permalinks and click save changes.

    Regards,
    Robert Hall.

    Avatar: 3ejoueur
    3ejoueur
    Participant
    September 21, 2015 at 21:33

    Hi thanks for this answer, Would you know a way with won’t alter the code. I could put that in a Child but you not be the best idea when update need more work.

    Also we are trying to find a solution that could be translate in a future not far.

    Thanks

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 22, 2015 at 09:56

    Hello,

    You can create child theme (it’s included in the theme package) and copy part of the code into functions.php file in child theme folder. This way you will not lose modifications after theme update.

    Best regards,
    Jack Richardson.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.