w3schools Autocomplete does not work for mobile devices

w3schools Autocomplete does not work for mobile devices

While w3school is one of the most helpful tools on the internet to get ideas, advices and code. BUT a lot of times seems to miss the extra feature that you would like in your code. Like the autocomplete which is not working on mobile devices. When you have a list and...
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...
How to add / remove month(s) to a date in PHP

How to add / remove month(s) to a date in PHP

This is an easy function to add or remove months from a date in PHP. There is a limitation, you can only subtract up to 999 years, but you can change that by increasing the 12000 number in the code, to whatever you want to. function add_month($strbegin, $count) {...