Overview of Option Fields Creator
WCK Option Fields Creator is available only in WordPress Creation Kit Hobbyist and Pro versions. It allows you to easily create Option Fields for your Option Pages managed by WCK Option Pages Creator.
To create Option Fields go to WCK -> Option Fields Creator and click on Add New.
Features of Option Fields Creator
Option Fields Creator lets you add Option Fields in Option Pages.
Select on which Option Page this Field Group will appear
Inside the tab we can set:
- Group Title (required) – The name of the Group Field
- Option Page (required) – Select the option page here. If there is no Option Page displayed we need to create one with WCK Option Pages Creator
- Option Name (required) – The name of the Option. Must be unique, only lowercase letters, no spaces and no special characters
- Repeater – Whether the box supports just one entry or if it is a Repeater Field. By default it is a Single Field
- Sortable – Whether the entries are sortable or not. This is valid for Repeater Fields
Option Page Fields
Inside the tab we can set:
- Field Title (required) – Title of the field. A slug will automatically be generated
- Field Type (required) – The Field Type
- Description – The description of the field
- Required – Whether the field is required or not
- Sortable – Default value of the field. For Checkboxes if there are multiple values separate them with a “,”
Fields Types
Inside Option Page Fields tab you can use the following Fields:
Default Fields Types
- Text – Used to add limited information
- Textarea – Used to add consistent information
- Select – Used to choose data from a predefined list
- Checkbox – Used to check an option from a list
- Radio – Used to select an option from a radio button group
- Upload – Used for uploading Files or Images via the WordPress Media Uploader
- WYSIWYG Editor – Used for adding and editing information with HTML
- Heading – Used to create sections of Custom Fields
- Colorpicker – Allows a color to be selected via a JavaScript popup
- Currency Select – Allows a currency to be selected from a dropdown list
- Phone – Used for adding a phone number
- Timepicker – Used for selecting the hour / minute from a dropdown list
- HTML – Used to add HTML content
- Number – Used to add a number
- Datepicker – Allows a date to be selected via a JavaScript popup calendar
- Country Select – Used to create a dropdown list with all countries
- User Select – Displays a dropdown that lets you select one of the users registered on your website
- Custom Post Type Select – Displays a dropdown of all available entries for a specific Custom Post Type
- Map – Allows to add a Map in a Post, Page or Custom Post Type
Setup Option Field
In order to display our Option Fields in Option Pages we need to set the Group Title, Option Page, Option Name and add our Fields.
Option Fields in Option Page
After we setup our Option Fields we can view them in our Option Page.