support.cubewp.com support.cubewp.com
  • Helpdesk
  • Support Forum
Get CubeWP
support.cubewp.com support.cubewp.com
Get CubeWP
support.cubewp.com
  • Helpdesk
  • Support Forum

Docy

Custom Fields Types

  • Folder icon closed Folder open iconText
  • Folder icon closed Folder open iconNumber
  • Folder icon closed Folder open iconEmail
  • Folder icon closed Folder open iconURL
  • Folder icon closed Folder open iconPassword
  • Folder icon closed Folder open iconText Area
  • Folder icon closed Folder open iconWysiwyg Editor
  • Folder icon closed Folder open iconoEmbed
  • Folder icon closed Folder open iconFile
  • Folder icon closed Folder open iconImage
  • Folder icon closed Folder open iconGallery
  • Folder icon closed Folder open iconSwitch
  • Folder icon closed Folder open iconColor
  • Folder icon closed Folder open iconRange
  • Folder icon closed Folder open iconDropdown
  • Folder icon closed Folder open iconCheckbox
  • Folder icon closed Folder open iconRadio Button
  • Folder icon closed Folder open iconGoogle Address
  • Folder icon closed Folder open iconDate Picker
  • Folder icon closed Folder open iconDate Time Picker
  • Folder icon closed Folder open iconTime Picker
  • Folder icon closed Folder open iconPost
  • Folder icon closed Folder open iconTaxonomy
  • Folder icon closed Folder open iconUser
  • Folder icon closed Folder open iconRepeating Fields
  • Folder icon closed Folder open iconReview Stars (Pro)
  • Folder icon closed Folder open iconTimings (Pro)

Image

Estimated reading: 1 minute 1046 views

The Image field enables the upload and selection of an image through the standard WordPress media modal.

Field Settings

Field Label: Image

Field Name: You can edit the field name by unlocking the field

Description: You have the option to provide a field description to inform users about its purpose

Allowed File Types (MIME): Specify allowed file types with a comma-separated list or leave blank for all types e.g. image/png, image/jpeg

Upload Size: You can set the maximum file size for this field, e.g., 5

Validation: You can make the field required by enabling this option

Save Format: Select the desired data format: File File URL (string), or File ID (integer).

ID: You have the option to replace the ID with the default one

Class: In case you’d like to take control of the design

Container Class: In case you’d like to take control of the design

Metabox Field Size: 1/1 The field will take the full width within the admin panel’s Meta Box

Show In REST API: If Yes then field data will be accessible via the WordPress REST API

Preview

image
Share this Doc

Image

Or copy link

Clipboard Icon
CONTENTS
Leaf Illustration

© 2023 All Rights Reserved by CubeWP