Title: Add/edit Page &#8211; Default screen options
Last modified: August 30, 2016

---

# Add/edit Page – Default screen options

 *  [ts_hamlet](https://wordpress.org/support/users/ts_hamlet/)
 * (@ts_hamlet)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/addedit-page-default-screen-options/)
 * I am looking for a way to define which screen options should be selected (and
   therefore displayed) by default for every user.
 * I have a site with a several contributors, not all of them are very computer 
   savvy. When they add or edit a page, some of the content / option boxes were 
   not showing (like slug, author, etc) but were for other people.
 * I am not looking at disabling all the screen options (i already have adminimize
   installed) – just defining what screen options are defined by default.
 * Thanks.

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

 *  [Tim Nash](https://wordpress.org/support/users/tnash/)
 * (@tnash)
 * Spam hunter
 * [10 years, 7 months ago](https://wordpress.org/support/topic/addedit-page-default-screen-options/#post-6633492)
 * There might be a plugin that does this for you, but otherwise you can do this
   in code, and create your own plugin or add it to your theme functions.php (not
   recommended) for example of how to do it in code.
 * [http://wordpress.stackexchange.com/questions/15376/how-to-set-default-screen-options](http://wordpress.stackexchange.com/questions/15376/how-to-set-default-screen-options)
 *  Thread Starter [ts_hamlet](https://wordpress.org/support/users/ts_hamlet/)
 * (@ts_hamlet)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/addedit-page-default-screen-options/#post-6633519)
 * Hi, thanks for the reply. I have copied this code into my child-themes functions.
   php:
 *     ```
       add_action('admin_init', 'set_user_metaboxes');
       function set_user_metaboxes($user_id=NULL) {
   
           // These are the metakeys we will need to update
           $meta_key['order'] = 'meta-box-order_post';
           $meta_key['hidden'] = 'metaboxhidden_post';
   
           // So this can be used without hooking into user_register
           if ( ! $user_id)
               $user_id = get_current_user_id(); 
   
           // Set the default order if it has not been set yet
           if ( ! get_user_meta( $user_id, $meta_key['order'], true) ) {
               $meta_value = array(
                   'side' => 'submitdiv,formatdiv,categorydiv,postimagediv',
                   'normal' => 'postexcerpt,tagsdiv-post_tag,postcustom,commentstatusdiv,commentsdiv,trackbacksdiv,slugdiv,authordiv,revisionsdiv',
                   'advanced' => '',
               );
               update_user_meta( $user_id, $meta_key['order'], $meta_value );
           }
   
           // Set the default hiddens if it has not been set yet
           if ( ! get_user_meta( $user_id, $meta_key['hidden'], true) ) {
               $meta_value = array('postcustom','trackbacksdiv','commentstatusdiv','commentsdiv','slugdiv','authordiv','revisionsdiv');
               update_user_meta( $user_id, $meta_key['hidden'], $meta_value );
           }
       }
       ```
   
 * But it seems to make no difference?
 *  Thread Starter [ts_hamlet](https://wordpress.org/support/users/ts_hamlet/)
 * (@ts_hamlet)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/addedit-page-default-screen-options/#post-6633520)
 * To be clear – i am not looking at hiding boxes, simply making sure that certain
   ones are checked (ticked) by default.

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

The topic ‘Add/edit Page – Default screen options’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [ts_hamlet](https://wordpress.org/support/users/ts_hamlet/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/addedit-page-default-screen-options/#post-6633520)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
