• This code:

    function add_example_metabox() {
    	// $screen = get_current_screen();
        // add_meta_box($screen->id, 'Other Plugins', 'example_metabox_content', $screen->post_type);
    	add_meta_box( 'example_metabox', __('Other Plugins'), 'metabox_content_related', 'bptpi');
    	do_meta_boxes('bptpi', 'advanced', null);
    }

    Is generating this. Which is neither collapsible nor styling correctly with the right amount of padding.

    Can anyone explain why?

  • The topic ‘add_meta_box not resulting in correct styles’ is closed to new replies.