- Simply add a meta box using the advanced context, and high priority
- Then, latch on to the
edit_form_after_title
hook -
Print your meta boxes out there, then remove it so it doesn’t appear twice.
// Move all "advanced" metaboxes above the default editor add_action('edit_form_after_title', function() { global $post, $wp_meta_boxes; do_meta_boxes(get_current_screen(), 'advanced', $post); unset($wp_meta_boxes[get_post_type($post)]['advanced']); });
Related Posts:
- Add custom fields within meta box class “on the fly”
- How do I position meta_box on post edit screen after the title?
- How to group meta boxes on the post edit page
- Disable the visibility options in WP
- Add search to list of categories in post editor
- How to replace default icon on “Add Media” button?
- Why could I not change the icon of the default Add media button that I added into the toolbar of TinyMCE?
- Consolidate Metaboxes into 1 Big Metabox
- Using WPAlchemy metabox values in another metabox
- can’t see all pages in dashboard (can only see 3) /wp-admin/edit.php > 500 error
- WordPress Post Editor Toolbar Missing
- How to add “Check all” to Edit post page in WP?
- How do I disable wpautop for a specific block?
- Is it possible to “comment out” text in a post?
- Make substitute in all WordPress posts
- editor-style.css Functionality
- Show box only on edit post
- Adding a tooltip above Categories postbox in Post Editor
- Set default post author to none on new post
- YouTube Video autoplay
- How can I define a max width for content in post editor based on a page template?
- wp_update_post() blank screen
- Post editor loads empty
- Word count not accurate – potential bug
- Prepare content from a different CMS/WYSIWYG to the WordPress editor
- Admin sidebar overlapping on editor when saving draft
- How can I remove the editor from the ‘main posts page’?
- Updating post content and custom fields in edit post screen
- Theme post editor does not have Visual & Html tabs and all buttons?
- add post meta front end edit
- Confirmation message when submitting post for review
- Making custom meta box required (with error message if not filled in) on Gutenberg
- HTML for adding a meta box (basic text field) to page editor?
- < ! - - more - - > tag not working
- How can I (for the long term) style the classic editor’s TEXTAREA?
- how can i add extra parameter to edit post link?
- Empty paragraphs around figure and figcaption tags when using markdown
- dynamically get post attachment while editing
- How can I implement a simple post editor?
- How to retain last modification date on draft edit
- Create more Meta Boxes as needed
- meta_query with meta values as serialize arrays
- Set Default Admin Screen options & Metabox Order
- How to set default screen options?
- Only one category per post
- How to show a custom meta box on the “Quick Edit” screen?
- Passing error/warning messages from a meta box to “admin_notices”
- Order by multiple meta key and meta value [closed]
- Remove Custom Taxonomy Metabox from Custom Post Type Screen
- Disable dragging of meta boxes?
- Add “upload media” button in meta box field
- Do I need a nonce field for every meta box I add to my custom post type admin?
- Can I add a Category Metabox to attachment?
- Add a Meta Box for uploading a SECOND Featured Image?
- How to change default position of WP meta boxes?
- Help Creating a Slideshow Custom Post Type with Custom Meta Boxes?
- Remove inline linking tool
- Custom Taxonomy as checkbox or dropdown
- Unable to select an old date in wordpress
- Is there an easy way to make a meta box have the tabs like the Categories meta box has?
- Trigger Javascript on Gutenberg (Block Editor) Save
- Does WordPress have a “Form API”?
- Metabox with checkbox is not updating
- Custom field/meta populated by dropdown of existing posts?
- How to HIDE everything in PUBLISH metabox except Move to Trash & PUBLISH button
- What is the “Advanced” $context in add_meta_box?
- Force category choice before creating new post?
- Setting admin edit panels & metaboxes positions and visibility for ALL users and admins
- Removing panels (meta boxes) in the Block Editor
- Change The Title Of a Meta Box
- What is the index [0] for on post meta fields?
- Syntax highlighting for post/page editor [closed]
- WordPress SEO by Yoast: Hide Meta Boxes in Posts for Non-admins
- Reset positions of metaboxes in admin
- How to make open/closed and hidden/shown metaboxes status saved on a per-post basis?
- How To Remove The “+ Add New Category” Link From A Category Metabox
- Get List of Registered Meta Boxes and Removing Them
- Taxonomy dropdown metabox in the back-end
- Meta Boxes: ‘admin_init’ or ‘add_meta_boxes’ hook?
- Add default WordPress tag meta box to User Profile
- How can I create a taxonomy meta-box with search suggestions but no new terms input?
- Remove the Featured Image Meta Box
- Remove the Yoast SEO Post Metabox [closed]
- Make Custom Metaboxes Collapse by Default
- Best practices for meta box placement?
- Creating a metabox to upload multiple images
- How to add tab which is visible only in admin side of product in woocommerce? [closed]
- Individual Widgets per Page
- How Does WordPress Remember Metabox Positions?
- Gutenberg add a custom metabox to default blocks
- Sample code for validating custom metabox?
- ‘Preview Changes’ for custom meta boxes?
- Multiple Custom Metabox Help
- Using TinyMce with textareas in meta boxes on custom post types
- add button to post edit page when post_status=publish
- Post custom metabox textarea using wp_editor
- How to force one column layout on custom post type edit page?
- How to display non-hierarchical taxonomy as terms with checkboxes?
- How to Add Reminders/Notes to New Post Meta Boxes
- How do I get attachment_id?