- This topic has 2 replies, 2 voices, and was last updated 5 years, 3 months ago by .
I have got this plugin working for metaboxes I wish to show for a specific template but not for hiding. I cannot get metaboxes to hide. I am using the following setup, can you tell me what I am doing wrong as there aren’t any examples of hiding on your website?
$meta_boxes = array( 'id' => 'page', 'title' => 'Page Details', 'pages' => array( 'page'), 'context' => 'normal', 'priority' => 'low', 'hide' => array ( 'relation' => 'OR', 'template' => array('page-templates/frontpage.php'), ),
- The topic ‘Problem hiding metabox’ is closed to new replies.