如何在WordPress联系表格7中更改日期格式 [英] How to change the date format in WordPress contact form 7

查看:49
本文介绍了如何在WordPress联系表格7中更改日期格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用wordpress联系人表格及其字段日期选择器,默认值为DD/MM/YYYY,但是我想将其格式更改为MM/DD/YYYY.

任何人都可以通过联系表格7告诉我该怎么做.

致谢

解决方案

我使用插件自定义Datepicker NMR

这使您可以在联系表单中使用名为 [datepicker]

的新输入字段.

安装/激活插件并指定格式日期以在Web浏览器中显示,如下所示:

  [datepicker myFirstDatepicker id:myFirstDatepicker格式:mm/dd/yy] 

此插件使用 jquery-ui datepicker .

I am using the wordpress contact form and its field date picker, its default is DD/MM/YYYY, but I want to change its format to MM/DD/YYYY.

Can any one tell me how to do it in contact form 7.

Regards

解决方案

I changed the display date format to mm/dd/yy in the front end of my form by using plugin Custom Datepicker NMR for Contact Form 7.

This allows you to use a new input field in your contact form called [datepicker ]

Install/activate the plugin and specify format date to show in the web browser like this:

[datepicker myFirstDatepicker id:myFirstDatepicker format:mm/dd/yy]

This plugin uses jquery-ui datepicker.

这篇关于如何在WordPress联系表格7中更改日期格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆