Title: Variables in posts
Last modified: August 19, 2016

---

# Variables in posts

 *  [syrupcore](https://wordpress.org/support/users/syrupcore/)
 * (@syrupcore)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/variables-in-posts/)
 * Hi.
 * Working on a light e-commerce site. There’s a products listing page, the individual
   product pages and purchase section on each product page – all of which will list
   the product’s price. The plan is to use custom fields and template hooks to display
   most of these.
 * My question is: What if the content author would like to include the price in
   the body of the post? Is there a way to insert it as a variable directly into
   a post so that it will auto-update when the custom field’s value updates?
 * I’m guessing there’s a plugin for this but damn if I could find it.
 * Thanks,
    Will

The topic ‘Variables in posts’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [syrupcore](https://wordpress.org/support/users/syrupcore/)
 * Last activity: [17 years, 8 months ago](https://wordpress.org/support/topic/variables-in-posts/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
