RTL/LTR frontend switcher
I have a theme that supports RTL. When Appearance->Theme settings->Right-to-Left (RTL) text orientation is enabled theme switches correctly. But I want to add to the main menu 2 items to switch orientation from frontend:
- RTL - switch theme to RTL mode
- LTR - switch theme to LTR mode
How can I do it?