PHP does not work after upgrading KUBUNTU 16.04 to 18.04

PHP does not work after upgrading KUBUNTU 16.04 to 18.04

After a little adventure with Virtualbox, which automatically turned some files from 5.1.xx to 5.2.xx, it was time to see what happened to the localhost…. Part of the PHP code appeared and of course did not work, at least completely. I first checked with the...
Adding a WPML Language Switcher on the Menu

Adding a WPML Language Switcher on the Menu

You have to add the following snippet to functions.php file of your theme. The code was originally in this link but with the language code, like “en” for English, “gr” for Greece etc. The following code shows the language flag instead. function...