I somewhat suck with admin stuff so test this carefully. I had some issues with users not coming up in dropdown, but it fails with default meta box as well – probably because of my messed up test stack.
add_action( 'admin_menu', 'remove_author_box' );
add_action( 'post_submitbox_misc_actions', 'author_in_publish' );
function remove_author_box() {
remove_meta_box( 'authordiv', 'post', 'normal' );
}
function author_in_publish() {
global $post_ID;
$post = get_post( $post_ID );
echo '<div class="misc-pub-section">Author: ';
post_author_meta_box( $post );
echo '</div>';
}
Related Posts:
- Remove unusable metaboxes in nav menu management screen
- Remove Metabox from Menus screen
- Add custom menu item metabox in Navigation Settings
- Add custom links like functionality
- Make nav-menus.php available for editor
- How do I enable “metaboxes” by default in menu editor?
- Is it possible to dynamically register menus?
- Add a menu metabox to post edit page
- WordPress theme editor not showing
- Specific Page that convert Hyperlink to anchor in nav menu
- Error: Declaration of MyClass::start_lvl() should be compatible with that of Walker_Nav_Menu::start_lvl()
- Is there an easy way to replace a custom menu link with a page or post?
- Using nonce in menu item
- remove last separator?
- How show sub menu only using wp_nav_menu()
- Walker_Nav_Menu: put custom code between a particular
- Using Image Links in WordPress Navigation Menus Instead Of Text Links
- When add wordpress page in menu it converted in to custom link
- Add items to a menu dynamically
- Disguise Multi-Page site as Single Page
- Add div to specific sub-menu
- How do I create a magazine type menu – sub-menu setup using wp_nav_menu and child of twentyten? [closed]
- Search box as a menu item in the nav menu output by wp_nav_menu?
- Arrow down in menu not displaying
- Editor access to menu: custom post type missing
- add span to wp_nav_menu widget
- How to get wordpress nav menu outside of wordpress system?
- Menu Custom link – using relative link when WP is in a subdirectory
- Show menu item only if user is logged In (not word press login)
- Custom menu output
- Hide menu item based on user’s custom capability
- Show menu based on parent & ancestor
- Set the checkbox as checked by default in menu item page
- Add Button to Bottom of Mobile Menu
- how to remove the top navigation bar or header top on wordpress website?
- Making sub-menus exclusive [closed]
- Add media library items to Menus using the Customizer (via Media Manager not URL)
- Add active class to top-level menu items when viewing single for that post type
- Static page to one page- menu inactive items highlighted
- Delete mobile menu button [closed]
- Add active class to ul container menu
- Help with walker for nav
- wp_list_pages sort order by custom nav menu order
- Prevent menu from loading in a page template [duplicate]
- How to use wp_nav_menu with hashtag links?
- Rename menu items for All except super admin
- Displaying Nav Menu
- Adding toggle-able element after menu item
- Get Menus In Header.php FIle
- Add editor toolbar to Metabox
- Custom register_taxonomy ins’t showing custom Nav menu
- Conditional menus based on page title
- How to test if a specific page is the front page?
- login logout menu changes in wordpress [closed]
- Menu deletes all items and position – wordpress bug?
- Mobile navigation is shown, but standard navigation does not disappear
- Plugins & Setting Menu Items Removed From Admin Panel
- Responsive menu on genesis theme [closed]
- How to add active class to separate page link?
- Controlling sub-menu within sub-menu
- Main menu navigation links and new pages
- How are methods of class Walker_Nav_Menu invoked?
- Duplicate menu items when auto generating menu from product categories
- Multisite: menus can’t be added in child sites
- How to get the Page Name of the current page?
- Add/remove image from navigation bar
- Swap out a page that is a parent to a many many pages
- How can I order these pages in this navigation bar on this old wordpress theme?
- Is it possible to remove the highlighted menu on Users and highlight a different menu?
- Modifying Woocommerce menu based on tags and categories
- How To add this tag before drop-down ul. in wordpress
- Unable to get Navigation Menu to display in the desired location
- Add href to tag in nav menu for mobile
- How to change navwalker’s dropdown mark-up?
- Bootstrap navbar responsiveness on WordPress theme menu not working
- Creating custom vertical menu
- Enable identical menu on network sites
- Custom location for menu
- No indication of menu
- Adding a menu item to the main menu
- wp_is_mobile() inside js
- Adding two same css class on menu item
- How to select single category in menu if post have two categories?
- menu is only pulling in one item
- Any reason why widgets/menus get emptied when I updated custom theme code?
- How to get current menu item “CSS Classes” value?
- How to change page location in WordPress
- Set menu item class into body
- how to keep theme background image, menu or site header image while moving site in sub directory?
- List WordPress Custom Menu’s active parent level’s children as separate menu
- Unable to edit Navigation bar
- Editor user only allow to post on certain categories
- Menu Underline shows without Hover after adding subitems
- How to create a custom WordPress navigation menu?
- Should I custom code drop down menus or use a wordpress plugin?
- How to load css file in my menu in wordpress
- Navigation menu, remove item from desktop
- Active Navigation Class Based on URL on icon
- Rename Menu icon in Twenty seventeen theme
- WordPress Menu – Adding a new dynamic element to the menu