Title: Shortcode help
Last modified: November 12, 2020

---

# Shortcode help

 *  Resolved [bonumaster](https://wordpress.org/support/users/bonumaster/)
 * (@bonumaster)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/shortcode-help-24/)
 * Hello. I am using WordPress Download Manager and i want to add some custom field
   per downloads. I am in the Plugin Editor and i have
 * `<span class="badge">[title]</span>`
 * What is the shortcode i will replace to [title] to show the value of added custom
   field? For example im adding the field “CREATED BY” then the value is from Custom
   Field

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [5 years, 6 months ago](https://wordpress.org/support/topic/shortcode-help-24/#post-13654682)
 * Not aware of any one shortcode that would be used for that, and CMB2 doesn’t 
   ship with any shortcodes out of box that I’m aware of, so this would need to 
   be a custom solution at the moment.
 * The shortcode would need to make use of the current post ID being rendered and
   grab the appropriate field with `get_post_meta()` and format however which way
   you want returned.

Viewing 1 replies (of 1 total)

The topic ‘Shortcode help’ is closed to new replies.

 * ![](https://ps.w.org/cmb2/assets/icon.svg?rev=2866672)
 * [CMB2](https://wordpress.org/plugins/cmb2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cmb2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cmb2/)
 * [Active Topics](https://wordpress.org/support/plugin/cmb2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cmb2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cmb2/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/shortcode-help-24/#post-13654682)
 * Status: resolved