September 18, 2020 at 10:15 pm
#10034521
Keymaster
Hello Levy,
The problem is that your code always output the “HU” flag, as you can see on the image below (when we load the page with contact-lang.php?lan=en):

You should check the $_GET['lan'] value and chang ethe flag code accordingly. Like the example I sent for you in my last reply:

* The $current_language variable output the flag code (hu, us, fr, etc…).
If still not works, please send the PHP code you are trying so we can help you with language dropdown active flag.
Kind Regards,
Rodrigo.
If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads