File Upload

Display a file upload field that displays a preview of the file uploaded. Option Details & Parameters Type: file Returns: string Version: 1.10 Can be placed in: Admin Panels , Admin Tabs , Meta Boxes , Theme Customizer Parameter Type Description name string The name of the option, for display purposes only. id string A unique ID for this option. This ID will be used to get the value for this option. desc string The description to display together with this option. default string (Optional) The default value for this option. label string (Optional) The label of the file upload preview. livepreview string (Optional) jQuery code Continue reading →

Multicheck Post-Types

Display a set of check boxes for all existing post-types. Multiple boxes can be checked. Custom post types are also supported. Option Details & Parameters Type: muticheck-post-types Returns: array Can be placed in: Admin Panels , Admin Tabs , Meta Boxes , Theme Customizer Parameter Type Description name string The name of the option, for display purposes only. id string A unique ID for this option. This ID will be used to get the value for this option. desc string The description to display together with this option. default string (Optional) The default post ID for this option. Defaults to 0, nothing Continue reading →

Select Post-Types

Display a single select drop down box containing existing post-types. Custom post types are also supported. Option Details & Parameters Type: select-post-types Returns: array Can be placed in: Admin Panels , Admin Tabs , Meta Boxes , Theme Customizer Parameter Type Description name string The name of the option, for display purposes only. id string A unique ID for this option. This ID will be used to get the value for this option. desc string The description to display together with this option. default string (Optional) The default post ID for this option. Defaults to 0, nothing selected. livepreview string (Optional) jQuery code that Continue reading →

Enable

Display an enable and disable toggle button. Option Details & Parameters Type: enable Version: 1.8 Returns: boolean (If the toggle button is enabled it will return true otherwise false.) Can be placed in: Admin Panels , Admin Tabs , Meta Boxes , Theme Customizer Parameter Type Description name string The name of the option, for display purposes only. id string A unique ID for this option. This ID will be used to get the value for this option. desc string The description to display together with this option. enabled string (Optional) The label for the button for the enabled state. Defaults to Enabled. Continue reading →

Upload

Display an image upload field that displays a preview of the image uploaded. Can also be used to upload other types of files such as a favicon. Option Details & Parameters Type: uplaod Can be placed in: Admin Panels , Admin Tabs , Meta Boxes , Theme Customizer [zilla_alert]As of version 1.5, the upload option no longer returns the direct URL to the selected image, but instead returns an attachment ID to the select image.[/zilla_alert] Parameter Type Description name string The name of the option, for display purposes only. id string A unique ID for this option. This ID will be used to get the value Continue reading →

Textarea

Display a textarea input field. Option Details & Parameters Type: textarea Returns: string Can be placed in: Admin Panels , Admin Tabs , Meta Boxes , Theme Customizer Parameter Type Description name string The name of the option, for display purposes only. id string A unique ID for this option. This ID will be used to get the value for this option. desc string The description to display together with this option. default string (Optional) The default value for this option. livepreview string (Optional) jQuery code that updates something in your site in the live preview. Only used when the option is Continue reading →

Text

Display a text input field. Option Details & Parameters Type: text Returns: string Can be placed in: Admin Panels , Admin Tabs , Meta Boxes , Theme Customizer Parameter Type Description name string The name of the option, for display purposes only. id string A unique ID for this option. This ID will be used to get the value for this option. desc string The description to display together with this option. default string (Optional) The default value for this option. livepreview string (Optional) jQuery code that updates something in your site in the live preview. Only used when the option is Continue reading →

Sortable

Display a vertical sortable values. Option Details & Parameters Type: sortable Returns: array Can be placed in: Admin Panels , Admin Tabs , Meta Boxes , Theme Customizer Parameter Type Description name string The name of the option, for display purposes only. id string A unique ID for this option. This ID will be used to get the value for this option. desc string The description to display together with this option. options array (Optional) An array of value and label pairs to display in the sortable field. default string (Optional) An array of visible values. If visible_button is set to Continue reading →

Select Posts

Display a single select drop down box containing existing posts. Custom post types are also supported. Option Details & Parameters Type: select-posts Returns: string Can be placed in: Admin Panels , Admin Tabs , Meta Boxes , Theme Customizer Parameter Type Description name string The name of the option, for display purposes only. id string A unique ID for this option. This ID will be used to get the value for this option. desc string The description to display together with this option. default string (Optional) The default post ID for this option. Defaults to 0, nothing selected. livepreview string (Optional) jQuery Continue reading →

Select Pages

Display a single select drop down box containing existing pages. Option Details & Parameters Type: select-pages Returns: string Can be placed in: Admin Panels , Admin Tabs , Meta Boxes , Theme Customizer Parameter Type Description name string The name of the option, for display purposes only. id string A unique ID for this option. This ID will be used to get the value for this option. desc string The description to display together with this option. default string (Optional) The default page ID for this option. Defaults to 0, nothing selected. livepreview string (Optional) jQuery code that updates something in your Continue reading →