-
Notifications
You must be signed in to change notification settings - Fork 123
Text Field
Matthew Haines-Young edited this page Sep 24, 2013
·
21 revisions
A simple text input field
- id (string) (required)
- name (string) (required) Field display name. Used as field label.
- type 'text' (string) (required)
- desc (string) Field description. Displayed below label.
- repeatable (bool) see Repeatable Fields
- readonly (bool) Prevent authors editing this field value.
- default (string) Set a default value
- cols (int) [1-12]
array(
'id' => 'example-field-text',
'name' => 'A simple text input',
'type' => 'text',
),
- 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