Return to Snippet

Revision: 65553
at December 19, 2013 09:46 by tkujawa


Initial Code
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' );

Initial URL

                                

Initial Description
Positioning the normal metaboxes in WordPress admin (like Excerpt, Author etc.) before the WYSIWYG editor

Initial Title
Positioning admin metaboxes before Editor

Initial Tags
wordpress

Initial Language
PHP