Title: feature request: custom field label as shortcode
Last modified: August 31, 2016

---

# feature request: custom field label as shortcode

 *  [Thomymaster](https://wordpress.org/support/users/thomymaster/)
 * (@thomymaster)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/feature-request-custom-field-label-as-shortcode/)
 * Hi
 * I have another feature request:
 * I have a custom field named “suggested price” where i use the slug “suggested-
   price” to use as a shortcode in my product description.
    Now i want to print 
   out the label of the custom field together with the value. So i have to use this
   in my product description:
 * `suggested price: [suggested-price]`
 * I think it would be nice to have for every custom field an automatically created
   shortcode [xxx-label] that prints out the label of the custom field. This would
   make the following possible:
 * `[suggested-price-label] [suggested-price]`
 * What do you think?
 * Best,
    Thomas
 * [https://wordpress.org/plugins/ultimate-product-catalogue/](https://wordpress.org/plugins/ultimate-product-catalogue/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Rustaurius](https://wordpress.org/support/users/rustaurius/)
 * (@rustaurius)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/feature-request-custom-field-label-as-shortcode/#post-6944869)
 * Hi Thomas,
 * It seems like a bit of a pointless option. The label would be the same for all
   products anyways, and would just lead to extra processing time for the string
   matching.
 * There’s nothing that makes typing [suggested-price-label] easier to type than
   suggested price really.
 *  Thread Starter [Thomymaster](https://wordpress.org/support/users/thomymaster/)
 * (@thomymaster)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/feature-request-custom-field-label-as-shortcode/#post-6944905)
 * OK if you think that will slow down the processing. I just thought it would be
   useful, because it makes the description more flexible (and you just need to 
   define the custom field so you have the label and the values).
 * Best,
 * Thomas

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘feature request: custom field label as shortcode’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-product-catalogue/assets/icon-128x128.png?rev=1805317)
 * [Ultimate Product Catalog](https://wordpress.org/plugins/ultimate-product-catalogue/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-product-catalogue/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-product-catalogue/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-product-catalogue/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-product-catalogue/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-product-catalogue/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Thomymaster](https://wordpress.org/support/users/thomymaster/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/feature-request-custom-field-label-as-shortcode/#post-6944905)
 * Status: not a support question