<?php // 投稿ページワンカラムに
function my_screen_layout_post($result, $option, $user){
return 1;
}
add_filter('get_user_option_screen_layout_post', 'my_screen_layout_post', 10, 3);?>
<?php // 投稿ページ公開を一番下にに
function my_footer() {
echo '<script type="text/javascript">
//<![CDATA[
jQuery(function(){
jQuery("#normal-sortables").prepend(jQuery("#side-sortables").children("#categorydiv"));
jQuery("#normal-sortables").append(jQuery("#side-sortables").children("#submitdiv"));
jQuery("#categorydiv").prependTo(jQuery("#normal-sortables"));
jQuery("#submitdiv").appendTo(jQuery("#normal-sortables"));
});
//]]>
</script>';
}
add_action('admin_footer', 'my_footer');?>

 

 

 

 

見ていただいてありがとうございます。↓ポチしてくださいませ。
  • 見た (0)
  • もう少し詳しく書いて! (0)
  • 見たけど役立たず (0)