1
Remove Author Metabox/Options & Move to Publish MetaBox
This will move the metabox for Authors on the post edit page to the Publish box.
function remove_author_box() {
remove_meta_box( 'authordiv', 'post', 'normal' );
}
function move_author_to_publish_box() {
global $post_ID;
$post = get_post( $post_ID );
echo '<div id="author" class="misc-pub-section" style="border-top-style:solid; border-top-width:1px; border-top-color:#EEEEEE; border-bottom-width:0px;">Author: ';
post_author_meta_box( $post );
echo '</div>';
}
add_action('admin_menu', 'remove_author_box');






User Comments
( ADD YOURS )Méric April 9
hi,
interesting tip :)
but it seems you forgot to specify where to hook the move_author_to_publish_box function :
add_action('post_submitbox_misc_actions', 'move_author_to_publish_box');
thanx
Trackbacks