/ Published in: PHP
Positioning the normal metaboxes in WordPress admin (like Excerpt, Author etc.) before the WYSIWYG editor
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function positioning_metaboxes() { global $post; if ( get_post_type($post) == 'post') { ?> <script type="text/javascript"> jQuery('#normal-sortables').insertBefore('#postdivrich'); </script> <?php } }; add_action( 'admin_footer', 'positioning_metaboxes' );