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
- Meta Boxes: ‘admin_init’ or ‘add_meta_boxes’ hook?
- Change the edit page for a custom post type?
- Action hook on Edit custom post type?
- Hide/Show only specific categories in wp-admin new-post.php
- WP Admin default view mode for Custom Post Type
- How can i add a metabox to pull list of custom posts (any two) on edit or add post screen?
- How to add a select menu to this metabox code?
- How to programatically set the post title of a CPT on wp-admin
- Using ‘strtotime’ function to convert a custom-meta-box to a date-stamp
- Metabox saving values
- Having trouble with custom post type / meta box
- update custom post type meta from a shortcode
- Calculate Repeater Meta Box Input Field Values and Display Total
- Change Post Title Edit Box
- Changing the header on post listing page in admin area
- Multiple information using custom post type
- How to keep a check box in custom meta box for custom post type checked by default for add new post?
- Show metabox in custom-post-template depending on taxonomy term?
- WordPress User Roles, Custom Post Types, and Admin views
- get_terms won’t display product_cat or any other custom taxonomies when specified
- Display custom post on home page based on a metabox selection
- Show Custom Post Type values in WordPress grid view
- How to add a “custom” date field to a custom post type?
- adding checkbox to meta
- Meta Box Only in CPT Edit Page, Not in Add New
- Why do I lose the content of meta boxes when I leave the page?
- Change headers in admin posts list
- List custom post types in metabox
- Remove rows in the manage post/page view
- Populate Custom Fields in a Custom Post Type?
- Duplicate Custom Header Functionality into the post edit screen
- Cannot save Checkbox meta box value from a Custom Post Type
- Custom meta box data array: foreach not working correctly?
- Display post meta on edit page in admin
- Troubles with saving metabox
- How to check if user meta field is empty in conditional else statement
- Add a button or image button that calls wp functions in the wp-admin
- Post Quote with image on header for news site
- How to Create an Image Upload Box for Custom Posts?
- How to store multiple values in 1 meta_key with radio input?
- How to add a custom-post-type post within another custom-post-type post edit screen using AJAX?
- 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
- CPT post count is 0 for the authors in the User list
- Possibilities for the edit.php admin panel? [closed]
- Custom post type editor with dynamic selects, one drop down populating a second second drop down not working
- WP-ADMIN – Listing all CPT in “posts” listing
- Disable closing on metaboxes
- Cannot save CPT meta box
- How to make custom taxonomy into drop down select in a custom metabox
- Create a Dropdown from Custom Post Type
- meta box on custom post type
- How to Echo Metadata Value in Currency Format
- Retrieving meta-box from a custom-post-type
- Create a custom post type for a photo post
- How to insert data into meta box from another plugin?
- Display metaboxes if checkbox ir marked
- Change link for “add new” buttons on custom post type
- Trying to add a class to post links
- Create a select metabox that the user can pupolate?
- Display custom meta on page that has been check in custom post type
- Meta box data is saved but NOT displayed in the meta box text field. Why?
- Custom capabilities not reflecting on admin panel
- How to limit what Editors see in the admin?
- Query Custom Posts – Add To Selection
- How to sum values from all custom posts metabox
- How to recover the post ID earlier in the WP admin hook action “firing” sequence?
- Change ordering of fields of custom post type in admin page
- Saving a Custom Post Type with a Meta Box results in a “Updating Failed” error
- Put featured image under post title in admin area
- list articles in admin showing nested categories or slugs?
- Adding accordion-section to custom post type edit screen
- I’m having trouble with Related Product “tax_query” ‘terms’ value
- Create Post Types from a XML url (Real Estate website)
- Custom post type not pulling CSS
- Custom metabox with image gallery upload that won’t attach images to post
- wp_editor in custom post type is not saving formatted text like bold, italic etc
- Admin metabox with custom post type dropdown option not update choosed input after saving
- exclude admin archive edit screen
- In the admin, how can you list thumbnails instead of titles for a custom post type?
- Dropdown of existing posts in a metabox
- php output of generated custom metabox
- Meta Box not being added in plugin
- Unable to get the values for metaboxes for custom post type
- Search form to find custom meta box generated data
- Problem with ‘save_post’ hook not running
- Howto: use existing post_meta as options for a different metabox (checkboxes or list)
- WPAlchemy Metabox rewriting slug
- Yearly Archive from a custom date metabox (Event Start Date)
- Multiple search template with separate stylesheets
- Loading one meta box only on post-new.php with a forward link
- Textarea type on one field custom add_meta_box?
- Extending a CPT by Created by another plugin
- Adding a custom “Add Custom Field” button to Custom Meta boxes
- add a “list” into add meta box : problem
- CPT Template Option to Top
- how to display custom taxonomies in front page