
By default, you can easily drag and change the placement of metaboxes in WordPress dashboard. You can also disable dragging of metaboxes and dashboard widgets in WordPress.
Instructions: Add the following code to the functions.php file of your WordPress theme.
function disable_drag_metabox() { wp_deregister_script('postbox'); } add_action( 'admin_init', 'disable_drag_metabox' );
You may also enjoy styling widgets based on their position in a widget area.
Comments Leave a Reply