-
Notifications
You must be signed in to change notification settings - Fork 123
Date field
ajitbohra edited this page Dec 1, 2014
·
9 revisions
A Date field.
JQuery UI datepicker is used when selecting dates.
Data is stored as a string in the format MM/DD/YYYY. For dates stored as a unix timestamp, use the field date_unix
- id (string) (required)
- name (string) (required) Field display name. Used as field label.
- type 'date' (string) (required)
array(
'id' => 'example-field-date',
'name' => 'A date field',
'type' => 'date',
),
- Setup/Install Custom Meta Boxes
- Creating a custom meta box
- Displaying Field Data
- Optional Generic Field Args
- Repeatable Fields
General
- Text Field
- Small Text Field
- Number Field
- URL Field
- Textarea Field
- Code Field
- Select Field
- Checkbox Input Field
- Radio Input Field
Date & Time
WordPress
Media
Utilities