Victor Quinten
February 17, 2016 at 1:35 am
hi there,
if u use an custom question field ‘date’ the datepicker is displayed, can this be customized? for example by css?
and what about the display type?
that is now 23/04/1980
can this be changed to 23-04-1980 ?
thanks for the answers ๐
Lorenzo Orlando Caum
February 17, 2016 at 7:17 am
Add New Note to this Reply
Hi Victor,
Please see this example:
https://gist.github.com/joshfeck/e7a461c24fe75f6decaa
It can be added to your site through a site specific plugin (https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ ).
—
Lorenzo
Victor Quinten
February 19, 2016 at 1:27 pm
Add New Note to this Reply
Hi Lorenzo,
Thanks for the example, can i change/edit this one to my needs and added to my functions.php in my theme?
Josh
February 19, 2016 at 1:47 pm
Add New Note to this Reply
Yes, you can change:
dateFormat: 'dd/mm/yy'
to
dateFormat: 'dd-mm-yy'
Victor Quinten
February 19, 2016 at 2:41 pm
Add New Note to this Reply
Hi John, thanks.
and then add it to my functions.php in my used theme?
Josh
February 19, 2016 at 4:24 pm
Add New Note to this Reply
You can add it to a functions plugin or into your WordPress theme’s functions.php file.
Victor Quinten
February 26, 2016 at 2:42 pm
Add New Note to this Reply
thanks ๐