Change link in functions.php - by Christophe

This topic has 4 replies, 2 voices, and was last updated 9 years, 4 months ago ago by Eva Kemp

  • Avatar: webkustbe
    Christophe
    Participant
    July 12, 2015 at 21:29

    Hi,

    My site is in 2 languages: NL and FR.

    All the links, posts, pages,… works perfect in both langages, only the My Account link in the top bar.

    In the Woocommerce-settings ->Accounts, you must enter a ‘default’ My Account-link, in my case the ‘Mijn Account’-page (NL). ../nl/mijn-account/, but i have made a extra page for the other langauge FR ../fr/mon-account/

    When the site switch to NL, then the ‘My Account’ link in the topbar sets to ../nl/mijn-account/, when switch to FR, the link doesn’t change.

    Can i change this link manually in fucntions.php, when switching to FR?

    PS: I work with the Polylang-plugin.

    Maybe, you can help me with this?

    Regards,
    Christophe

    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    July 13, 2015 at 10:17

    Hello,

    In this case you have to contact Woocommerce support team.

    Regards,
    Eva Kemp.

    Avatar: webkustbe
    Christophe
    Participant
    July 13, 2015 at 14:41

    Hi Eva,

    I find a simple solution for this problem.

    Installing the plugin Hyyan WooCommerce Polylang Integration solve the problem 🙂

    Regards,
    Christophe

    Avatar: Eva
    Eva Kemp
    Support staff
    July 13, 2015 at 15:02

    Hello,

    We’re glad you’ve found the solution.

    Have a nice day!

    Regards,
    Eva Kemp.

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

The issue related to '‘Change link in functions.php’' 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.