-
AuthorPosts
-
July 29, 2014 at 9:17 pm #297421
Is there a simple way to swap the month/day in the date format of your form generator so it shows up as:
mm/dd/YY instead of dd/mm/yy?
thanksJuly 30, 2014 at 2:18 am #297488Hi AirstreamCoach!
Please use the code Ismael posted here – https://kriesi.at/support/topic/font-color-for-main-menu-links/#post-278486
Best regards,
YigitOctober 19, 2014 at 7:32 pm #337997This reply has been marked as private.October 20, 2014 at 6:12 pm #338518October 20, 2014 at 7:05 pm #338551no, i’m sorry. i want it to read MM/DD/YY
standard US format.why isn’t this a default option?
I did fix it once and the fix went away!!PLEASE HELP
October 20, 2014 at 7:47 pm #338574Hi!
Please add following code to Functions.php file in Appearance > Editor
add_filter('avf_datepicker_date_placeholder', 'new_date_placeholder'); function new_date_placeholder() { $placeholder = "MM / DD / YY"; return $placeholder; } add_filter('avf_datepicker_dateformat', 'new_date_format'); function new_date_format() { $date_format = " mm / dd / yy"; return $date_format; }
Best regards,
YigitOctober 22, 2014 at 8:33 pm #339729This worked! Thanks so much.
The problem appears to be that whenever I perform a theme update I lose the coding. I am using a child theme but I guess since it’s the functions.php, that doesn’t help.
will I need to add this code every time there is an update? Or, do you have any plans for adding a datepicker formatting feature to your theme. that would be greatly appreciated!
jen
October 22, 2014 at 9:15 pm #339744Hey Jen!
No, you can put that code in your child theme functions.php.
Cheers!
JosueOctober 22, 2014 at 11:06 pm #339792thanks josue! sorry but i don’t see that file. The editor only lists the following. i find the functions.php under “enfold” and change it there. but then when there is an update (another one today) the change gets overwritten. how do i find the enfold child function.php file? I can only get to the parent version of that file. thanks.
Templates
This child theme inherits templates from a parent theme,
Enfold
.Styles
Stylesheet
(style.css)
RTL Stylesheet
(rtl.css)October 22, 2014 at 11:24 pm #339804In that case you’d just need to create it (an empty functions.php), inside your child theme directory.
Best regards,
JosueNovember 22, 2014 at 5:22 pm #355923This reply has been marked as private.November 22, 2014 at 6:18 pm #355940Hey Jen!
I’m seeing your footer widgets on my end – http://i.imgur.com/WWKKryQ.png
Best regards,
JosueNovember 22, 2014 at 7:27 pm #355979Thanks… i further researched and found that you had a newer update to the theme. after installing it, the problem was resolved. maybe i will wait a few days before performing theme updates in the future! Jen
-
AuthorPosts
- The topic ‘date picker date format’ is closed to new replies.