Title: Default value (std) not working
Last modified: August 31, 2016

---

# Default value (std) not working

 *  Resolved [miguel1876](https://wordpress.org/support/users/miguel1876/)
 * (@miguel1876)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/default-value-std-not-working/)
 * Hi
 * When using the attribute std => ” to set a default value, it is not working. 
   Nothing shows in the Custom Field.
 * This is an example array:
 * `array(
    // Field name – Will be used as label ‘name’ => __( ‘Test Field’, ‘restauranttheme’),//
   Field ID, i.e. the meta key ‘id’ => “{$prefix}test_filed”, // Field description(
   optional) ‘desc’ => __( ‘Test Field’, ‘restauranttheme’ ), ‘type’ => ‘text’, ‘
   std’ => ‘test text’, ),
 * The field should show “test text” as default however it is not working. Its blank.
   Same goes for any other field I tried such as checkboxes.
 * Can anyone help?
 * Thanks
 * [https://wordpress.org/plugins/meta-box/](https://wordpress.org/plugins/meta-box/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [miguel1876](https://wordpress.org/support/users/miguel1876/)
 * (@miguel1876)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/default-value-std-not-working/#post-7084280)
 * Please disregard.

Viewing 1 replies (of 1 total)

The topic ‘Default value (std) not working’ is closed to new replies.

 * ![](https://ps.w.org/meta-box/assets/icon-128x128.png?rev=1100915)
 * [Meta Box](https://wordpress.org/plugins/meta-box/)
 * [Support Threads](https://wordpress.org/support/plugin/meta-box/)
 * [Active Topics](https://wordpress.org/support/plugin/meta-box/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/meta-box/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/meta-box/reviews/)

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [miguel1876](https://wordpress.org/support/users/miguel1876/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/default-value-std-not-working/#post-7084280)
 * Status: resolved