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

CubeWP Framework

  • getting startGetting Started
    • Introduction
    • Installation
    • Support
    • Billing
  • How to use CubeWP?
    • Create Custom Post Types
    • Create Custom Taxonomies
    • Create Custom Fields
  • CubeWP Custom Fields
    • All Field Types
    • Conditional Fields with Taxonomy
    • Conditional Custom Fields
    • Dropdown Field
    • Checkbox Field
    • Radio Button Field
    • How to create Repeatable Fields ?
    • Conditional Custom Fields with Multiple Taxonomies
    • How to Allow Specific File Types in Media?
    • Relationship Fields
    • Custom CSS on Custom Fields
  • Maps
    • Google Map
    • OpenStreet Map
  • Single Page Template
    • Single Page with Elementor
  • Shortcodes
    • Login Page
    • Custom Field Shortcode
    • Archive Shortcodes
  • General
    • Import and Export
  • Developer Guides
    • How to add any other post type into CubeWP form builder.
    • How to get value of post-type custom field
    • How to get CubeWP Setting’s field value
    • How to create group of custom fields by code
    • CubeWP Filters & Actions
    • Add CubeWP Settings
  • faqFAQs
    • What is CubeWP Framework?
    • Does AppSumo deal include all future extensions?
    • Does CubeWP work with any page builder?
    • How can I display custom field data on a single-post template using any page builder?
    • Does CubeWP compatible with Elementor Dynamic Tags?
    • Is CubeWP compatible with any WordPress theme as well?
    • Does CubeWP work with native WP Gutenberg blocks and 3rd party Guten blocks?
    • Does CubeWP support Full Site Editing (FSE)?
    • Is CubeWP Frontend Pro a Page Builders?
    • Is the CubeWP Framework safe to use on WordPress?
    • Can I create custom post types and taxonomies with CubeWP?
    • Can I create custom fields with CubeWP?
    • Is CubeWP compatible with WooCommerce?
    • How can I translate my CubeWP powered site to another language?
    • Is CubeWP SEO friendly?
    • Can I use CubeWP to build a membership site?
    • Is CubeWP compatible with LearnDash or other LMS plugins?
    • Can a Non Developer use CubeWP Framework?
    • Can I create a multivendor marketplace with CubeWP?
    • How do I get support for CubeWP?
    • What are the minimum requirements?
    • Can I use CubeWP without Elementor?
    • Does CubeWP have a refund policy?
    • Is CubeWP WordPress Multisite compatible?
    • Which page builders are compatible?
    • Is the current CubeWP deal on AppSumo a Lifetime Deal?
    • Which themes are compatible?
    • Can I create custom Gutenberg blocks with CubeWP?
    • Does CubeWP work with my WordPress Theme?
    • Does CubeWP support Shortcodes?
    • How often is CubeWP updated?
    • Does CubeWP work with e-commerce plugins?
    • Is CubeWP GDPR-compliant?
    • Does CubeWP offer any built-in caching or performance optimization features?
    • How many Field Types are available in CubeWP?
    • Can I export or import my CubeWP settings?
    • Why my Conditional Logic is not working while creating Custom Fields?
    • Are there any known conflicts with other WordPress plugins?
    • Where can I see all my purchases?
    • Can I Import and Export data from CubeWP?
    • Can I use CubeWP on my clients’ websites?
    • Does CubeWP have a refund policy?
    • How to activate and manage licenses?
    • Are there any live example of customer websites built with CubeWP?
    • Does CubeWP support Elementor Dynamic Tag?
    • Do I need Elementor Pro for Dynamic Tags?
    • Is there a demo website for CubeWP?
    • What is CubeWP Frontend Pro?
    • Is CubeWP Frontend Pro a Page Builder?

Create Custom Fields

Estimated reading: 2 minutes 428 views

How to Create Custom Fields?


When creating custom fields with CubeWP Framework, it gives you the following three options.

  1. Custom Fields for Post Types
  2. Custom Fields for Taxonomies
  3. Custom Fields for User Roles

Now let’s look at each of these options and how to create them.

1. Custom Fields for Post Types.

Part 1: Create a New Group

When we create custom fields for Post Types, we actually create a Group of Custom Fields for a Post Type. CubeWP can help you can create unlimited Post Types with a few clicks.

  1. Go to WP Admin CubeWP
  2. Click on Custom Fields and select Custom Fields (Post Types) tab.
  3. Enter the group Add New to create a new Group.
  4. Give your Group name
  5. Enter a number for the Group Order.
  6. Enter a brief description about the Group
  7. Select a Post Type from the right side to assign it to the Group.
  8. Click the Save Group button

Part 2: Create New Fields

Now you are ready to start adding one or more custom fields to this group that is assigned to a post type you selected above.

  1. Click on Add New Fields
  2. Enter a label for the field.
  3. The name is auto-generated and is locked. To edit the name, first click the lock icon to unlock.
  4. Select the Field Types. (Types of Fields Available)
  5. Enter a number for the Group Order.
  6. Enter a brief description about the Group
  7. Select a Post Type from the right side to assign it to the Group.
  8. Click the Save Group button

2. Options Available in Custom Fields

  1. Title of Field (Required)
  2. Slug of Field (Required)
  3. Description
  4. Default Value
  5. Placeholder
  6. Validation ( Make Require )
  7. Custom Validation message ( Required If validation is on )
  8. Custom ID
  9. Custom Class
  10. Custom Container Class
  11. Conditional Logics
Share this Doc

Create Custom Fields

Or copy link

Clipboard Icon
CONTENTS
Leaf Illustration

© 2023 All Rights Reserved by CubeWP