Title: syntax for shortcode
Last modified: August 21, 2016

---

# syntax for shortcode

 *  [assurevest](https://wordpress.org/support/users/assurevest/)
 * (@assurevest)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/syntax-for-shortcode/)
 * Can someone please tell me what would be the syntax for displaying one field 
   on a widget.
 * I was able to display all the fields in a template by using [cft template=1].
   This displays all the fields without the labels for the fields. Is there a way
   to display fields as well as their labels in a widget using a shortcode?
 * [http://wordpress.org/plugins/custom-field-template/](http://wordpress.org/plugins/custom-field-template/)

Viewing 1 replies (of 1 total)

 *  [Per Olsen](https://wordpress.org/support/users/per-olsen/)
 * (@per-olsen)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/syntax-for-shortcode/#post-4099111)
 * for me [cft key=Key_Name].worked, but the label must be added in plain html

Viewing 1 replies (of 1 total)

The topic ‘syntax for shortcode’ is closed to new replies.

 * ![](https://ps.w.org/custom-field-template/assets/icon-256x256.png?rev=1966286)
 * [Custom Field Template](https://wordpress.org/plugins/custom-field-template/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-field-template/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-field-template/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-field-template/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-field-template/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-field-template/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Per Olsen](https://wordpress.org/support/users/per-olsen/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/syntax-for-shortcode/#post-4099111)
 * Status: not resolved