It:
function meta_box_video() { add_meta_box( 'video-meta-box-id', 'Video Embed', 'meta_box_callback', 'post', 'normal', 'high' ); }
You should specify page not post .
function meta_box_video() { // --- Parameters: --- add_meta_box( 'video-meta-box-id', // ID attribute of metabox 'Video Embed', // Title of metabox visible to user 'meta_box_callback', // Function that prints box in wp-admin 'page', // Show box for posts, pages, custom, etc. 'normal', // Where on the page to show the box 'high' ); // Priority of box in display order }
Take a look at Codex for add_meta_box () . Examples are very helpful. The part you are interested in is in the "Parameter" section. The fourth parameter allows you to specify whether you want metabolism on pages, posts, etc.
source share