Home › Forums › MapPress Support › Show MapPress on specific page in admin? › Reply To: Show MapPress on specific page in admin?
November 4, 2014 at 1:02 pm
#15325
If you literally want to show the map editor on only one page, you can do it with a little PHP in your functions.php file.
You would need to use remove_meta_box()
Something like this might work to remove the meta box from all pages except #1234 (I haven’t tested it):
<?php
function remove_metabox() {
global $post;
if ($post->ID != 1234)
remove_meta_box( 'mappress' , 'page' , 'normal' );
}
add_action( 'admin_menu' , 'remove_metabox' );
?>