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 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
    • Pricing Plan
  • folder icon closed folder open iconDeveloper Guides
    • CubeWP Filters & Actions
    • Add CubeWP Settings
  • General
    • Import and Export
  • folder icon closed folder open iconFAQs
    • A Non Developer can use CubeWP Framework?
    • What are the minimum requirements?
    • Can I use CubeWP without Elementor?
    • Which page builders are compatible?
    • Which themes are compatible?
    • Is CubeWP work with my WordPress Theme?
    • Does CubeWP support Shortcodes?
    • Does CubeWP work with e-commerce plugins?
    • How many Field Types are available in CubeWP?
    • Why my Conditional Logic is not working while creating Custom Fields?
    • Where can I see my all Purchases?
    • Can I Import and Export CubeWP data of CubeWP?
    • Is CubeWP offering a Refund Policy?
    • Is CubeWP support Elementor Dynamic Tag?
    • Do i need Elementor Pro for Dynamic Tags?
    • What is CubeWP Frontend Pro?
    • Is CubeWP Frontend Pro a Page Builder?

Custom Field Shortcode

Estimated reading: 2 minutes 173 views

Looking for shortcodes for Custom Fields on a Single Page?

If you are using CubeWP then why are you worried? CubeWP provides you every possible feature to create your own single page with dynamic tags and shortcodes. If you want to create your single page with Custom Fields shortcode then don't worry with the help of CubeWP Framework you can create your own single page.

  1. We have added an option in CubeWP Settings.
  2. Navigate to CubeWP Settings
  3. Click on Post Settings
  4. CubeWP Single-Page Turn off
  5. Now you can create your own single-page template.
  6. You can also create single page using any page builder or editor.
  7. Now you need to fetch single post data dynamically
  8. For that purpose, we have created a shortcode
  9. Here is [cubewp_post_field field=YOUR FIELD NAME]

What is my Field Name?

You field name name is below your custom field title See the below screenshot.
Note: Please click on unlock icon to copy your field name easily.

docs-image-27

What you can achive with these Shortcodes?

  1. You can use this Shortcode to get any field’s data
  2. This shortcode gives data after rendering.
  3. If you get any image field data, It will return data with img tag.
  4. Same way if you get post field data, it will return the post title with an anchor tag.
  5. All other text fields will provide the same text data.
Share this Doc

Custom Field Shortcode

Or copy link

Clipboard Icon
CONTENTS
Leaf Illustration

© 2022 All Rights Reserved by CubeWP