WordPress has a few of these libraries that come with core, you can view the list here: Default Scripts Included and Registered by WordPress. What you’re looking for is Draggable, Sortable, and in your case Droppable.
You would use wp_enqueue_script()
to add it like so:
wp_enqueue_script( 'jquery-ui-droppable' );
WordPress registers these scripts using a Handle which you can use to add them, the list of Script Handles can be found in the first link above. You would still need to hook into the admin panel and add the script:
function load_custom_wp_admin_style() {
wp_enqueue_script( 'jquery-ui-droppable' );
}
add_action( 'admin_enqueue_scripts', 'load_custom_wp_admin_style' );
Related Posts:
- How do I change the author of a custom post type?
- How to add a button to custom post type’s posts-page
- How to set a fall back template for a custom post type in a plugin?
- Creating a custom public user page
- Redirect after deleting post and keep track of pagination
- Is flush_rewrite_rules necessary when creating a custom post type? Why?
- Remove Slug from Custom Post Type results in 404
- WordPress custom post action hook
- Unable to filter on field on edit.php page
- Insert slider (Custom Post Type) into pages
- How do I create a custom post type for a training CMS in WordPress?
- WP Query group/order by category name
- Save or update data when custom post published
- Uploaded image not appearing in custom post type
- Using posts and postmeta table to store custom Address Book Plugin data
- template_redirect not working, apparently for no reason
- How to add multiple featured image in meta box in post editor?
- How to add notification in the sidebar of the administration panel when a Custom post type is created? [duplicate]
- Custom Post Type get_post_type_archive_link( $post_type ) returns false
- How do I set the link in the Custom Post Type admin menu?
- How to List Thumbnails based on Custom Categories
- Adding Meta Boxes while Registering a Post Type in a Class
- How to have the right design for a custom post type without accessing themes
- Dynamic Custom Post Type Plugin
- Set object terms not working on plugin activation
- Using custom page templates with plugin [duplicate]
- need advice on how to do a lists using custom post types – taxonomy vs postmeta
- Get all of user’s custom post types in WP Admin for plugin
- How to Get Current Custom Post Type Selected Taxonomy Term (Not All Terms)
- Custom Post Type: Upload Multiple Images
- WordPress theme custom capabilities not works
- How to add a custom taxonomy to show up in a custom post type menu?
- Give a permalink to Custom Post Types without title
- Getting template_include to work when allow_url_include is off?
- WordPress post_where & posts_join not working only for custom post type
- Use custom metabox to update automatically a post after a given date
- Custom Permalink to remove category word , keeping posts permalink with date?
- Form action/link to render a plugin in WordPress front-end
- How to Create a WordPress Plugin With Custom Post Type/Custom Field Features?
- Adding a metabox on a CPT’s submenu page
- ACF in wordpress
- Theme independent plugin by using default page template
- How to add and clear custom post types and taxonomies in a plugin? Considerations for existing data
- post_parent in custom post type
- Dynamically insert code to custom post type loop
- How do I add custom HTML to the content of an archive page’s posts?
- How do you make a list and list item relation if custom post types?
- Unable to format dates to put in event calendar
- How to add query args to links to CPT admin submenu
- Dynamic assign a custom template to custom post type posts
- How to add and display custom content that is not a post
- Custom post type in Custom widget – $listItem
- Problem with adding custom post type meta to header by plugin
- Validate Custom Post Type fields
- Creating alternate meta box context locations
- Is it possible to sort metabox teaxtarea values?
- Generating and downloading files with WP API
- Convert Custom Table Data Based Plugin To Be Searchable
- Content in WP Editor displayed below CPT shortcode [duplicate]
- Limiting Amount of Posts in a Custom Post Type again
- Limit Amount of Pages users can create in Custom Post Types
- restricting custom rewrite to just one custom post type
- Wp Meta Query does not work while simple Query Works
- Auto update publish date of CPT Post if default post custom field value match to cpt post CF Value
- Why are custom taxonomies only appearing on the edit page of one of these types, but not the other?
- How to add a default predefined thumbnail when creating a brand new post?
- How can i display a taxonomy? i have created a plugin and then a custom type. and a taxonomy , also i have register it
- Plugin Development using classes – Public & Private Callbacks
- URL issue retrieving Custom Post Types using Backbone JS API
- WordPress Custom Post Loop
- Create a post automatically if search result has zero results
- Custom post type specific item design
- Correct way adding External classes to Custom Post type and output their methods to template
- ‘Simple’ Reservation System
- Issue removing columns from admin table
- Custom Post Type Front Page Gives 404
- Show Post columns to specific users on condition
- WP REST API Custom endpoint don’t work in my plugin
- Custom Post type plugin is using theme single.php and style.css
- get_permalink() of page the enclosing page not posts
- Run query on specific admin options page and send results to select field in another function
- Not able to get all the actions (View, Edit, Quick Edit, Trash), and not able to delete post in custom post type
- call a function when insert and update a custom post type
- Custom meta box in editor of custom post type not working
- WP_Query doesn’t accept Category ID
- Error in WP Query. If variable is empty it is displaying previous post value
- Can I override the permalink/slug on creation
- Custom post type not being pulled in widget
- Registering an optional custom post type from a plugin
- Generate custom RSS from a plugin
- Issue on Counting CPT’s Under Taxonomy Term
- Custom Taxonomy Showing in WP Menu
- Issue on Adding Taxonomy to Custom Post Type Using Function
- Add Excerpt On Quicksand Plugin
- Inserting into WP DB
- Hide custom post type and use its slug in new plugin menu
- Create settings page to enable or disable CPT
- get_post_types() is returning null
- I want to show a list of posts under specified categories
- How to consume external API from WordPress post editor and display the response data in the custom field?