Title: [Plugin: Custom Field Template] PHP Code $value not showing in text boxes
Last modified: August 19, 2016

---

# [Plugin: Custom Field Template] PHP Code $value not showing in text boxes

 *  [korythewebguy](https://wordpress.org/support/users/korythewebguy/)
 * (@korythewebguy)
 * [15 years ago](https://wordpress.org/support/topic/plugin-custom-field-template-php-code-value-not-showing-in-text-boxes/)
 * First and foremost, this is a **FANTASTIC** plug-in! I can’t even begin to say
   how much time it saves me, and am going to donate to it’s developer again!
 * I have a Custom Post Type called “Downloads” for which I’m intending to allow
   the client to add files which can then be downloaded on the website with hit 
   tracking. (I know I could just use one of the many “download manager” plugins
   available, but I’m trying this first.)
 * One of the “Custom Field Template” fields I have set up for this Post Type is
   called “Download_Size”, where WordPress will get the bytesize of the added file(
   via PHP) and display it in a read-only text box. I have this field set up as 
   follows:
 *     ```
       [Download_Size]
       hideKey = true
       type = text
       size = 32
       label = File Size
       code = 0
       ```
   
 * I’m able to echo out the resulting string from PHP, so I know it’s working – 
   However, anything I set to $value does not go into the text box. (e.g. $value
   = ‘Yes we can’; does NOT put _Yes we can_ into the text box.)
 * Am I assigning my string from PHP to the wrong variable, or is this just broken
   for the time being?
 * [http://wordpress.org/extend/plugins/custom-field-template/](http://wordpress.org/extend/plugins/custom-field-template/)

Viewing 1 replies (of 1 total)

 *  [Celebshoe](https://wordpress.org/support/users/celebshoe/)
 * (@celebshoe)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-php-code-value-not-showing-in-text-boxes/#post-2031509)
 * Hey! im having trouble adding page titles to the the header of my blog, do you
   have any suggestions on how to do soo? and im having problems with font as well1
   would greatly appreciate your help if you know how. the site is celebrityshoestatus.
   com let me know if u need any other info.
 * thanks!

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Custom Field Template] PHP Code $value not showing in text boxes’
is closed to new replies.

 * ![](https://ps.w.org/custom-field-template/assets/icon-256x256.png?rev=1966286)
 * [Custom Field Template](https://wordpress.org/plugins/custom-field-template/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-field-template/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-field-template/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-field-template/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-field-template/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-field-template/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Celebshoe](https://wordpress.org/support/users/celebshoe/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-php-code-value-not-showing-in-text-boxes/#post-2031509)
 * Status: not resolved