Change 'Brand' to 'Range' – Taxonomy/Slug

This topic has 4 replies, 2 voices, and was last updated 9 years, 3 months ago ago by Robert Hall

  • Avatar: ryanmcm
    ryanmcm
    Participant
    August 5, 2015 at 14:52

    Hi, I’ve searched the forum and can only find one thread that looks similar to my problem. Sorry if this has already been answered.

    I don’t have ‘brands’ on my site. Instead, I have products within ‘ranges’.

    How do I change the brand taxonomy/slug to say ‘range’ instead of brand? Is it somewhere within the woo.php file?

    Thanks,
    Ryan

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 5, 2015 at 15:11

    Hello,

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

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

    Regards,
    Robert Hall.

    Avatar: ryanmcm
    ryanmcm
    Participant
    August 5, 2015 at 15:23

    Thanks Robert, that worked perfectly.

    Saved me a few hours of trial and error.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 5, 2015 at 15:34

    You’re welcome and have a good day!

    Regards,
    Robert Hall.

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

The issue related to '‘Change 'Brand' to 'Range' – Taxonomy/Slug’' has been successfully resolved, and the topic is now closed for further responses

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