To answer #3, just search ACF’s input.css
file for the class no-box
and you’ll see how it works. If you view the meta box in the context of the edit screen, and delete the no-box
class using your browser’s web inspector, you’ll see that it will appear as and can be sorted like a normal meta box, so it is entirely CSS that does this.
The important bit is to hide the meta box title h3
, which is the element that makes it draggable.
.acf_postbox.no_box > h3,
.acf_postbox.no_box > .handlediv {
display: none;
}
The rest is just styling to remove the background, border, and adjust margin/padding.
Related Posts:
- How to Change the Title of a Meta Box on a Specified Custom Post Type? [duplicate]
- Multiple wp_editor instances in custom post type using Ajax
- Simple Data picker meta box
- Cannot save Checkbox meta box value from a Custom Post Type
- Adding dropdown select meta box to custom post type – seems restAPI is interfering
- Admin not showing all custom post type posts and views not working
- How to avoid manage posts screen duplicates when two plugins use the same library
- Is possible add class for last post of Custom Post Type?
- Custom meta box not saving
- Custom meta box data array: foreach not working correctly?
- Undefined Variable – Custom Post Type Meta
- Unable to retrieve any posts of CPT in wp-admin
- What’s the difference between same wp functions get_posts(); functions in different form?
- Display post meta on edit page in admin
- Keep display metadata value on backend – Custom Metabox
- Modify action buttons for custom post type
- Populate dropdown from one custom post type inside another custom post type
- Push metadata in array
- Troubles with saving metabox
- How to check if user meta field is empty in conditional else statement
- Custom Post Type with Templates using Meta Boxes?
- Admin Pointers on a custom post type
- Why is my select meta data not saving?
- WordPress 3.5 Media Uploader – Only allow 1 upload and certain file types
- Customize my custom taxonomy table in Admin panel
- Add Standard Page Attributes Metabox for Page Parent
- dynamically add a custom field or metabox to custom post type [duplicate]
- Add a button or image button that calls wp functions in the wp-admin
- Make metabox of custom post type fully autosave- and bulk-/quick-edit compatible
- Custom Post Type uses Custom Tags in add_filter?
- Post Quote with image on header for news site
- Custom date changer post_date => future – missed schedule error
- Selecting a post in Dashboard
- Custom Post List View: Page or something else?
- How to Create an Image Upload Box for Custom Posts?
- How to store multiple values in 1 meta_key with radio input?
- Custom admin post.php page
- What is the best way to correlate one-to-many content-type relationships?
- Custom Taxonomy back-end customizations
- Is it possible to create relational metabox values in a custom post?
- How to add a custom-post-type post within another custom-post-type post edit screen using AJAX?
- Changing custom type name hides the posts
- Visual editor issue by having multiple tiny mce editors in a CPT
- Found 2 elements with non-unique id (#_ajax_nonce) and (#_wpnonce)
- A better way to add a meta box to custom post types
- Why are taxonomy terms not saving when using custom meta boxes with radio button taxonomy selectors?
- Plugin – Combine Meta Box Input Fields into single saveble record
- Filter term taxonomy metabox in custom post type
- Getting Custom Post Type Meta on Publish
- CPT post count is 0 for the authors in the User list
- Addition of custom option panel crashes Media Library & Admin Area
- Meta Query Filtering not working on Custom Meta Box using Radio Buttons
- How to Upload CSV Data into Custom Post Type Data with Metabox programmatically
- Grouping metadatas into one
- Tracking changes in admin-page so user gets warning when leaving the page
- Anon function and add_meta_box
- Possibilities for the edit.php admin panel? [closed]
- Metabox not show in categories custom post type cmb2
- How to Create Columns with WordPress and CPTUI display page ?
- Filter hierarchical custom post type admin page by parent, and include children & grandchildren
- Admin Filter – Add Post Type Description on Post Type Page
- Custom post type editor with dynamic selects, one drop down populating a second second drop down not working
- Repeatable Fields Metabox with Textarea (or wp_editor)
- How to use TinyMCE Editor for one of my custom post meta field?
- Display correctly using metabox.io
- Create Connection Between two post types
- WP-ADMIN – Listing all CPT in “posts” listing
- pre_get_posts for custom page builder meta box
- Disable closing on metaboxes
- manage_edit-{post_type}_sortable_columns sorts, but wrong!
- Show Custom Post Type meta boxes only on Page Edit
- Cannot save CPT meta box
- How to make custom taxonomy into drop down select in a custom metabox
- Adding Page Templates to post but it ignored it
- Parent Page and Breadcrumb URL’s for Custom Post Types Not Working
- Create a Dropdown from Custom Post Type
- Translating custom post type metaboxes [closed]
- Adding a metabox on a CPT’s submenu page
- Fixed values for same post translations
- How to Add multiple instance of meta box to custom post type
- Using POST method in meta box, no results
- meta box on custom post type
- Custom Postype specific changes in admin panel
- Grouping of CPTs and taxonomies into menu groups in admin
- Checking if $_FILE isset for an array of file upload metaboxes
- Ordering values entered in Custom Taxonomies
- Listing custom terms in custom post meta
- Permalinks: custom structure for taxonomy – tags?
- Custom Post Type & Meta Box – Displaying meta box information on front end?
- How can I move (or create another) publish button?
- Wrap meta boxes & data handling for specific post types in classes?
- Can custom fields be added without a meta box?
- Can’t publish custom post type – “You are not allowed to edit this post.”
- Meta Box on Custom Post Type not saving
- Custom “radio button meta box” not saving correctly
- Global custom meta box
- Sizing textarea field in custom metabox
- It’s possible to hide body copy box for a custom post type?
- Moving meta boxes in admin
- Meta Data for Custom Post Type not saving