wordpresstranslationwpml

How to customize "language switcher" button link in wordpress using wpml plugin?


I am making a custom auton.php file in wordpress. In my web i have made profile in of teacher/gurus when i open them it opens right profile but issue is when i switch to any language it always open admin profile in stead of that particular profile

Like shown in this image/screenshot


Solution