Title: Shortcode Formating
Last modified: December 5, 2016

---

# Shortcode Formating

 *  [charlfcoetzee](https://wordpress.org/support/users/charlfcoetzee/)
 * (@charlfcoetzee)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/shortcode-formating/)
 * Hi Richard
 * Hope you are well.
 * Wonder if you can assist me…
 * I want to format the shortcode text that the plugin gives as an output.
 * E.g:
 * [userinfo field=”last_name”]{{empty}}[/userinfo] would give “lastname”, but I
   would like it to be “Lastname” or “LASTNAME” or any other formate…
 * I have tried “txtfmt=ucwords” and “txtfmt=strtoupper” but witn no luck: [userinfo
   field=”first_name” txtfmt=”strtoupper”]{{empty}}[/userinfo] nor [userinfo field
   =”first_name” txtfmt=strtoupper]{{empty}}[/userinfo]
 * Any ideas?
 * Thanks

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

 * ![](https://s.w.org/plugins/geopattern-icon/user-meta-shortcodes.svg)
 * [User meta shortcodes](https://wordpress.org/plugins/user-meta-shortcodes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-meta-shortcodes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-meta-shortcodes/)
 * [Active Topics](https://wordpress.org/support/plugin/user-meta-shortcodes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-meta-shortcodes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-meta-shortcodes/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [charlfcoetzee](https://wordpress.org/support/users/charlfcoetzee/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/shortcode-formating/)
 * Status: not resolved