Title: about custom fields with code
Last modified: May 29, 2017

---

# about custom fields with code

 *  Resolved [mrdurden68](https://wordpress.org/support/users/mrdurden68/)
 * (@mrdurden68)
 * [9 years ago](https://wordpress.org/support/topic/about-custom-fields-with-code/)
 * hi for ex
 * <?php the_field( ‘hız_gostergesi’ ); ?>
 * plugin gave me this. and when i add it it only give me the value…
 * i want to show it with
 * CUSTOMFIELDNAME: VALUE
    COLOR: RED(VALUE) LENGHT: 220 CM (VALUE)
 * i mean i want to show its label, how can i do that?

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

 *  Plugin Author [Aaron Rutley](https://wordpress.org/support/users/aaronrutley/)
 * (@aaronrutley)
 * [9 years ago](https://wordpress.org/support/topic/about-custom-fields-with-code/#post-9177979)
 * Hi [@mrdurden68](https://wordpress.org/support/users/mrdurden68/)
 * Thanks for getting in touch,
 * Which type of field are you working with ?
    Is the field set to return the label?
 * Cheers,
    Aaron.
 *  Thread Starter [mrdurden68](https://wordpress.org/support/users/mrdurden68/)
 * (@mrdurden68)
 * [9 years ago](https://wordpress.org/support/topic/about-custom-fields-with-code/#post-9178117)
 * hi [@aaronrutley](https://wordpress.org/support/users/aaronrutley/)
 * i m working with text field.
 * is it what you asking for?
 * i mean in the custom fields i added some groups and added some fields. and its
   text (not text area just text option)
 *  Plugin Author [Aaron Rutley](https://wordpress.org/support/users/aaronrutley/)
 * (@aaronrutley)
 * [9 years ago](https://wordpress.org/support/topic/about-custom-fields-with-code/#post-9179234)
 * Hi [@mrdurden68](https://wordpress.org/support/users/mrdurden68/)
 * Thanks for your reply,
 * As I understand, you have a text field.
 * You don’t want to return that value stored in the text field.
    You’d like to 
   return the value of the label you assigned to the text field.
 * If that’s the case this article may help if you:
    [https://www.advancedcustomfields.com/resources/get_field_object/](https://www.advancedcustomfields.com/resources/get_field_object/)
 * I hope that helps!

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

The topic ‘about custom fields with code’ is closed to new replies.

 * ![](https://ps.w.org/acf-theme-code/assets/icon-256x256.png?rev=1458037)
 * [ACF Theme Code for Advanced Custom Fields](https://wordpress.org/plugins/acf-theme-code/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/acf-theme-code/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/acf-theme-code/)
 * [Active Topics](https://wordpress.org/support/plugin/acf-theme-code/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/acf-theme-code/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/acf-theme-code/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Aaron Rutley](https://wordpress.org/support/users/aaronrutley/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/about-custom-fields-with-code/#post-9179234)
 * Status: resolved