-
Notifications
You must be signed in to change notification settings - Fork 124
Url Field
ajitbohra edited this page Dec 1, 2014
·
10 revisions
A URL Field.
Some arguments are required, some are optional
- id string (required)
- type 'text_url' (required)
- name (string) (required) Field display name. Used as field label.
- desc (string) Field description. Displayed below label.
- repeatable (bool) see Repeatable Fields
- readonly (bool) Prevent authors editing this field
- default (string) Set a default value
- cols int [1-12]
array(
'id' => 'example-field-url',
'name' => 'A URL input',
'type' => 'text_url',
),
- 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