Polylang WooCommerce change link manually
-
Hello,
I made a e-commerce site with WooCommerce and Polylang, and it works perfect!
(Follow this tutorial)Except the Mon Account (My Account) link in FR.
I have 2 languages NL and FR, and the 2 links are:
NL: ../nl/mijn-account
FR: ../fr/mon-account
If typing both links in the browser manually, then it works perfect!In the Woocommerce-settings ->Accounts, you must enter a ‘default’ My Account-link, in my case the ‘Mijn Account’-page (NL).
In the front-end of the site, all the links working in the 2 languages only the Mon Account (FR) link doesn’t change, and i want to change this to ‘/fr/mon-accuont/’, when switch to FR.
Can I changing this url/link manually in functions.php ? If yes, have anyone an example how can i do this?
Regards,
Christophe
- The topic ‘Polylang WooCommerce change link manually’ is closed to new replies.