Title: Display specific custom field
Last modified: August 20, 2016

---

# Display specific custom field

 *  [pinzanoaltagl](https://wordpress.org/support/users/pinzanoaltagl/)
 * (@pinzanoaltagl)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/display-specific-custom-field/)
 * Hi,
 * which is the code to display a specific custom field ( named for example: foto)
   in single.php???
 *  get_meta() recalls every custom field
 *  Thank You

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/display-specific-custom-field/#post-2531413)
 * Not if you specify the key.
    [http://codex.wordpress.org/Function_Reference/get_post_meta](http://codex.wordpress.org/Function_Reference/get_post_meta)
 *  Thread Starter [pinzanoaltagl](https://wordpress.org/support/users/pinzanoaltagl/)
 * (@pinzanoaltagl)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/display-specific-custom-field/#post-2531421)
 * I’m sorry, I really don’t understand a lot about php, what am I supposed to write
   instead of get_meta()?
 * If for example the field is called: test or whatever you prefer.
 * Thank You!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/display-specific-custom-field/#post-2531465)
 * Please see the page at the link I posted above.

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

The topic ‘Display specific custom field’ is closed to new replies.

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [field](https://wordpress.org/support/topic-tag/field/)
 * [specific](https://wordpress.org/support/topic-tag/specific/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 3 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/display-specific-custom-field/#post-2531465)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
