Shortcode to show table of the current day
-
I have this code:
[pods template=”Cumpleanos-Empleados-home” name=”empleado” limit=”3″ orderby=”DATE_FORMAT(cumpleanos.meta_value,’%m%d’)” where=”TIMESTAMPDIFF(YEAR, cumpleanos.meta_value, CURDATE()) < TIMESTAMPDIFF(YEAR, cumpleanos.meta_value, ADDDATE(CURDATE(), 10))”][/pods]
Which shows birthdays up to 10 days in the future. But the thing is that the ones that correspond to current day do not appear. For example, it shows me the birthday of tomorrow, but tomorrow it will not show it. I would need to know what method to use to show me only the current day.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Shortcode to show table of the current day’ is closed to new replies.