| 开发者 | wolinka |
|---|---|
| 更新时间 | 2026年6月20日 01:11 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[daypick] form-tag to Contact Form 7: a fast, mobile-friendly date and time picker built on the flatpickr library.
Everything is free. No pro version, no license keys, no per-domain restrictions, no paid translations. 50+ languages ship with the plugin and are picked automatically from your site language.
Why DayPick?
defer strategy.[daypick* appointment mode:datetime min:today max:+90d hours:09:00-18:00 step:30 disable:weekends firstday:1]
Available options:
mode:date / mode:time / mode:datetime – picker type (default: date)min:today, min:2026-07-01, min:+7d – earliest selectable datemax:+90d, max:2026-09-30 – latest selectable datehours:09:00-18:00 – allowed time rangestep:30 – minute incrementdisable:weekends, disable:2026-07-15,2026-07-16 – disabled days (can be combined)firstday:1 – first day of week (0 = Sunday, 1 = Monday; default: site setting)format:d.m.Y – display format (PHP date tokens; use _ for a space, e.g. format:d.m.Y_H:i)"Select a date" placeholder – show the quoted text as the field placeholder; without placeholder the same text becomes a pre-filled default valueY-m-d, H:i or Y-m-d H:i depending on the mode. Use the regular mail-tag (e.g. [appointment]) in your email template.
Credits
DayPick bundles the flatpickr library (v4.6.13), released under the MIT license, which is GPL-compatible. The non-minified source code is available in the flatpickr GitHub repository.
[daypick your-field] tag manually.No. Everything – all features, all translations – is free.
All 50+ locales bundled with flatpickr (Turkish, German, French, Spanish, Arabic, Japanese and many more). The picker automatically follows your site language. You can override it with the daypick_locale filter.
By default the ISO value (e.g. 2026-07-15 14:30). If you set a display format on the tag (e.g. format:d.m.Y_H:i), the email uses that same format (e.g. 15.07.2026 14:30), localized to your site language and timezone. Stored/exported data (database, CFDB7) always stays ISO for consistency.
No. min/max, disabled days, hour range and minute step are validated on the server during submission, not only in the browser.
Yes. DayPick renders the same picker on mobile devices so that your rules (disabled days, hour ranges) keep working everywhere.
Yes. In the tag generator, fill in Default value and tick Use this text as the placeholder of the field, or add it manually: [daypick your-field "Select a date" placeholder]. The placeholder is shown on the visible field; the submitted value stays ISO.