Created
July 18, 2013 15:37
-
-
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"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
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