Title: Default Value isn&#039;t populating the fields
Last modified: August 31, 2016

---

# Default Value isn't populating the fields

 *  [justineshares](https://wordpress.org/support/users/justineshares/)
 * (@justineshares)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/default-value-isnt-populating-the-fields/)
 * I’ve tried creating multiple types of custom fields and adding a Default Value
   for that field: WYSIWYG and single line text.
 * When I add into the template file a types_render_field(slug-name) it isn’t showing
   the default value for the field.
 * I’ve checked in the db and nothing is being saved either nor is the custom field
   available as a custom field drop-down option.
 * When I enter a value in a custom field manually it does display. Why is this?
   Am I missing any steps?
 * [https://wordpress.org/plugins/types/](https://wordpress.org/plugins/types/)

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

 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/default-value-isnt-populating-the-fields/#post-7203003)
 * WYSIWYG and Single Line Field do not display as a “Dropdown” but as Text Fields.
 * Those are, after you added them to a Fields Group under Types > Custom Fields,
   available for the Post Types you set the Group to be assigned.
 * The Default Values are saved in the DDBB as a postmeta for the Post where you
   actually saved the field at least once.
 * It is also saved as a Option for the Field in the options table.
 * So if you saved your Post once and left the Default value, this must display 
   also with the API or the ShortCode for that Post.
 * Thank you
 *  Thread Starter [justineshares](https://wordpress.org/support/users/justineshares/)
 * (@justineshares)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/default-value-isnt-populating-the-fields/#post-7203014)
 * Beda, is there any way to save a post automatically? We have 50 custom post types
   where we want the default value to show up, so I wanted to avoid having to do
   this manually.
 * Thanks for your thorough explanation.
 * Justine
 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/default-value-isnt-populating-the-fields/#post-7203033)
 * As said, it will appear once you create Posts.
 * If you need this “backwards” (for old posts) there is no way Types can run a 
   expensive Query to update old posts.
 * In fact I added a request to add this feature but that’s not in our plans for
   right now.
 * What you can try, is, to add the Field to the Post list.
 * 1. Types > Post types > your_post_type > edit > Post fields to be shown as columns
   in post listings in WordPress Admin > check your fields > save
 * 2. Head to the post listings in WordPress Admin and mark ALL posts and hit edit,
   make NO changes, and save
 * This could actually work.
 * Thanks

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

The topic ‘Default Value isn't populating the fields’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/types_ced1d3.svg)
 * [Toolset Types - Custom Post Types, Custom Fields and Taxonomies](https://wordpress.org/plugins/types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/types/)
 * [Active Topics](https://wordpress.org/support/plugin/types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/types/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: Anonymous User 14808221
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/default-value-isnt-populating-the-fields/#post-7203033)
 * Status: not resolved