Title: remove_meta_box issue!
Last modified: August 31, 2016

---

# remove_meta_box issue!

 *  [CallMeAndy](https://wordpress.org/support/users/callmeandy/)
 * (@callmeandy)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/remove_meta_box-issue/)
 * Hi guys – I run into a problem trying to get remove_meta_box() to work
 *     ```
       /** remove metabox for catchkathmandu options
       	 */
       	function vpm_remove_meta_box() {
       		remove_meta_box( 'catchkathmandu-options', 'post', 'normal' );
       		remove_meta_box( 'authordiv' , 'page' , 'normal' ); //removes author
       	}
       	add_action( 'add_meta_boxes', 'vpm_remove_meta_box' );
       ```
   
 * The point is I dont want contributors and authors to edit the site design, so
   I wanted to remove the catchkathmandu-options. the code obviously does not reflect
   the condition, the codex for this function supplies the solutions for that but
   this code at the besic step, still isnt working – I switched back to Twenty Sixteen
   theme and put in the authordiv section simply to test. But still no dice.
 * Have I taken the wrong path and am I looking at the wrong thing entirely?
 * Any help appreciated!

Viewing 1 replies (of 1 total)

 *  [Sakar U Khatiwada](https://wordpress.org/support/users/sakaruk/)
 * (@sakaruk)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/remove_meta_box-issue/#post-7208936)
 * does it work if the last line is changed to
 * `add_action('admin_menu','vpm_remove_meta_box');`
 * I think the trigger is done in incorrect timing

Viewing 1 replies (of 1 total)

The topic ‘remove_meta_box issue!’ is closed to new replies.

## Tags

 * [add_meta_boxes](https://wordpress.org/support/topic-tag/add_meta_boxes/)
 * [remove_meta_box](https://wordpress.org/support/topic-tag/remove_meta_box/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Sakar U Khatiwada](https://wordpress.org/support/users/sakaruk/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/remove_meta_box-issue/#post-7208936)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
