Title: Add value
Last modified: August 19, 2016

---

# Add value

 *  [rddcse](https://wordpress.org/support/users/rddcse/)
 * (@rddcse)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/add-value/)
 * Hi, i am designing a template and want to add my one value.
    i am using thing
   the following code to do it.
 * <img src=”<?php $thumb = get_post_custom_values(‘blogimg’); echo $thumb[0]; ?
   >” />
 * This code works fine if i place the code in loop.php
 * but didn’t work when i place the code in my own template page.
    PLease help.

Viewing 1 replies (of 1 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/add-value/#post-1722106)
 * Outside [The Loop](http://codex.wordpress.org/The_Loop) you would use [get_post_meta](http://codex.wordpress.org/Function_Reference/get_post_meta)

Viewing 1 replies (of 1 total)

The topic ‘Add value’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/add-value/#post-1722106)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
