This section describes the type attributes that can be set in the custom field template.
- break type
- The break type can be used to delimit the div boxes in the input fields of a custom field template. You can start a new div box anywhere in the template, and you can change the template’s input fields to two or three columns by setting up a style sheet.
- fieldset type
- The fieldset type allows you to group various fields as fieldsets in a custom field template box. Fieldsets can also be duplicated, allowing for more flexible construction of input fields.
- text type
- Displays a text input field; the date option allows the date to be entered from a calendar.
- checkbox type
- Show checkboxes.
- radio type
- Displays radio boxes.
- select type
- Displays select boxes.
- textarea type
- Displays the textarea.
- file type
- File uploads can be used by using the File type. While you must use the media library to upload files in regular WordPress, you can use the file type to include file uploads within a custom field template. It is also possible to associate the file with a post article so that the file can be reused from the media library gallery.