Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

language redirect

Home / Forums / Virtue Theme / language redirect

This topic is: Not Resolved
[Not Resolved]
Posted in: Virtue Theme
June 22, 2015 at 4:54 pm

A lang-redirect.php file has been created for me in order to have viewers directed based on the browser language. This file gets deleted each time there is an update to the virtue theme and I therefore intend to create a child theme (I’ve downloaded but not yet installed the virtue child theme). Should the lang-redirect.php syntax be put directly into and be part of the functions.php or should it be a stand-alone file? If the latter is the case, what do I have to do (what do I have to include in the functions.php) to “call” on the lang-redirect.php file and make the redirect work?

Regards

Hans

  • The forum ‘Virtue Theme’ is closed to new topics and replies.