Title: adding box to post-new.php
Last modified: August 19, 2016

---

# adding box to post-new.php

 *  [pugsx](https://wordpress.org/support/users/pugsx/)
 * (@pugsx)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/adding-box-to-post-newphp/)
 * Hello,
    I would like to add a box to the right of the main text box (under tags
   box) which just contains some text listing some values but I’m not sure where
   to make the changes I have looked through some of the files but cant find it.
 * PugsX

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

 *  [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * (@apljdi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/adding-box-to-post-newphp/#post-1288847)
 * In your theme’s functions.php, do something like this.
 *     ```
       include(ABSPATH.'wp-admin/includes/template.php');
       function my_meta_box($post) {
         echo 'Hi';
       }
       add_meta_box('mydiv', __('MyDiv'), 'my_meta_box', 'post', 'side', 'core');
       ```
   
 *  Thread Starter [pugsx](https://wordpress.org/support/users/pugsx/)
 * (@pugsx)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/adding-box-to-post-newphp/#post-1289089)
 * works a treat thank you 😀

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

The topic ‘adding box to post-new.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [pugsx](https://wordpress.org/support/users/pugsx/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/adding-box-to-post-newphp/#post-1289089)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
