Custom Field Shortcode
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 short codes. If you want to create your single page with Custom Fields short-code then don’t worry with the help of CubeWP Framework you can create your own single page.
- We have added an option in CubeWP Settings.
- Navigate to CubeWP Settings
- Click on Post Settings
- CubeWP Single-Page Turn off
- Now you can create your own single-page template.
- You can also create single page using any page builder or editor.
- Now you need to fetch single post data dynamically
- For that purpose, we have created a short-code
- 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.
What you can Achieve with these Short-codes?
- You can use this Short-code to get any field’s data
- This short-code gives data after rendering.
- If you get any image field data, It will return data with img tag.
- Same way if you get post field data, it will return the post title with an anchor tag.
- All other text fields will provide the same text data.