Title: [Plugin: Custom Field Template] Default Value for textarea?
Last modified: August 19, 2016

---

# [Plugin: Custom Field Template] Default Value for textarea?

 *  [cybersnac](https://wordpress.org/support/users/cybersnac/)
 * (@cybersnac)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-custom-field-template-default-value-for-textarea/)
 * I need to apply a custom field that defines a default post thumbnail to a specific
   category in my theme.
 * I use the following code but the default value doesn’t populate. Can anyone help
   please?
 * [post-thumb-280×225] // this is the name of the custom field
    type = textfield
   value = [http://url_to_image](http://url_to_image) // this is the URL to the 
   image
 * I should add that I’m using WordPress 3.1.1

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

 *  Thread Starter [cybersnac](https://wordpress.org/support/users/cybersnac/)
 * (@cybersnac)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-custom-field-template-default-value-for-textarea/#post-2040581)
 * can anyone tell me if I’m doing this right? or why the default value is not being
   set if I am doing it right?
 *  Plugin Author [Hiroaki Miyashita](https://wordpress.org/support/users/hiroaki-miyashita/)
 * (@hiroaki-miyashita)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-custom-field-template-default-value-for-textarea/#post-2040605)
 * Please use `default = http://` for the text type.
 *  [seanjacob](https://wordpress.org/support/users/seanjacob/)
 * (@seanjacob)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-custom-field-template-default-value-for-textarea/#post-2040616)
 * I am also trying to get a default/value in my text field but doesn’t seem to 
   be working for me am I doing anything wrong? Also should the default appear in
   the field or be blank but still contains the value.
 *     ```
       [summary_title]
       label = Summary title
       type = text
       default = In summary
       output = true
       ```
   
 *  [seanjacob](https://wordpress.org/support/users/seanjacob/)
 * (@seanjacob)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-custom-field-template-default-value-for-textarea/#post-2040617)
 * shoot my bad! It will not work for existing posts. Sorry I am a noob to your 
   superb plugin.
 *  Thread Starter [cybersnac](https://wordpress.org/support/users/cybersnac/)
 * (@cybersnac)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-custom-field-template-default-value-for-textarea/#post-2040633)
 * Hiroaki thanks for getting back to me. I’m confused though.
    What do you mean
   by use default = http:// ?
 * I’ve tried adding that line so that my template looks like this but it doesn’t
   work.
 *     ```
       [post-thumb-280x225]
       type = textfield
       value = http://mywebsite.com/pathtosomeimage.jpg
       default = http://
       ```
   

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

The topic ‘[Plugin: Custom Field Template] Default Value for textarea?’ 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/)

 * 5 replies
 * 3 participants
 * Last reply from: [cybersnac](https://wordpress.org/support/users/cybersnac/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-custom-field-template-default-value-for-textarea/#post-2040633)
 * Status: not resolved