Title: pankajbtech's Replies | WordPress.org

---

# pankajbtech

  [  ](https://wordpress.org/support/users/pankajbtech/)

 *   [Profile](https://wordpress.org/support/users/pankajbtech/)
 *   [Topics Started](https://wordpress.org/support/users/pankajbtech/topics/)
 *   [Replies Created](https://wordpress.org/support/users/pankajbtech/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/pankajbtech/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/pankajbtech/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/pankajbtech/engagements/)
 *   [Favorites](https://wordpress.org/support/users/pankajbtech/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Custom fields are not showing up in my admin panel](https://wordpress.org/support/topic/custom-fields-are-not-showing-up-in-my-admin-panel/)
 *  [pankajbtech](https://wordpress.org/support/users/pankajbtech/)
 * (@pankajbtech)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/custom-fields-are-not-showing-up-in-my-admin-panel/#post-1943864)
 * **Hello Dear..**
    **How to Restore Metaboxes, Custom Fields After Upgrade into
   WordPress Version 3.1** Enable the check boxes according to your need, what fields
   should be visible in your editor screen. Thats all. In feature selective fields
   will be visible in your editor screen. If you want to show it permanently, Following
   hack will do the trick. Simply edit functions.php file in your theme folder and
   add the following code and save it.
 * This Code Past on function.php
    // Change what’s hidden by default
 * add_filter(‘default_hidden_meta_boxes’, ‘be_hidden_meta_boxes’, 10, 2);
    function
   be_hidden_meta_boxes($hidden, $screen) { if ( ‘post’ == $screen->base || ‘page’
   == $screen->base ) $hidden = array(‘slugdiv’, ‘trackbacksdiv’, ‘postexcerpt’,‘
   commentstatusdiv’, ‘commentsdiv’, ‘authordiv’, ‘revisionsdiv’); // removed ‘postcustom’,
   return $hidden; }

Viewing 1 replies (of 1 total)