Posts by Luís Fernando • 7 points
2 posts
-
-2
votes2
answers35
viewsA: How to change the URL of the Wordpress homepage?
The site will have to have a home page, even if it is not being used. If this is the case you can create a new page, go to settings > Read and choose the new page as the home page. After that, go…
-
1
votes2
answers198
viewsA: date validation
You can use the function below: $data = '01/02/2017'; function validaData($data, $formato = 'd/m/Y H:i:s'){ $d = DateTime::createFromFormat($formato, $data); return $d &&…