Skip to content

Instantly share code, notes, and snippets.

@apatton-cnet
Created July 18, 2013 15:37
Show Gist options
  • Save apatton-cnet/6030344 to your computer and use it in GitHub Desktop.
Save apatton-cnet/6030344 to your computer and use it in GitHub Desktop.
add_meta_box ignoring context??? outputs box in <div id="advanced-sortables" class="meta-box-sortables ui-sortable"> rather than "normal-sortables"
<?
function ebs_seo_cp_add_custom_box_contact() {
add_meta_box(
'ebs_seo_cp_meta_box_class_contact', //id
__( 'Location Details: Contact Information', 'ebs_seo_cp' ), //title
'ebs_seo_cp_inner_custom_box_contact', //callback
'location', //post type
'normal' //context
);
}
add_action( 'add_meta_boxes', 'ebs_seo_cp_add_custom_box_contact' );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment