Global Meta Box Order
Intuitively harmonize meta box positions and screen column layout for all backend users of your WordPress installation. Quick Overview Install and activate the plugin Switch to a post, a page, a custom post type, or the dashboard Change the order and position of a meta box (or all of them) Change the column layout Switch to a different user (maybe with the help of the User Switching plugin) See your changes applied Installation Download and unpack, then move the folder ‘global-meta-box-order’ into your ‘plugins’ folder. Head over to your WordPress installation and activate the plugin in the admin area. Rollback The plugin doesn’t write anything to the database, it just reads. So it never touches any user settings, but instead filters them on a per request basis. Though all applied changes appear to be permanent from a user’s perspective, they are not. Just deactivate the plugin and see all changes disappear. Activate it again, and they will all be reapplied. How It Works The plugin operates on a blueprint user whose screen settings for meta boxes (visibility, position and ordering), and column layout are cloned for all other backend users on the fly. By default, this blueprint user is the first admin user found, so you’ll need to be logged in as that user to globally change screen settings. For how to change the default blueprint user as well as other settings, please refer to the Configuration section below. Where It Works By default, the plugin kicks in when a user: edits a post edits a page edits a custom post type hits the dashboard What It Changes It will always change the meta boxes visibility, ordering, and column positions the column layout When told so, it will also remove the screen options box immobilize all boxes, so they can’t be moved around by your users anymore Usage Log in as your blueprint user. By default, the is the first admin user found in your system. Select an editing screen (post, page, custom post type) or the dashboard, move the meta boxes around, change their screen settings and the screen’s column layout. Switch to some user to review your settings, switch back to adjust them. When done, you might want to lock your views down by removing the screen options box and by locking the boxes’ sort order. Your blueprint user, of course, wil not be affected by this. Configuration The backend integration is kept to a minimum. No navigation entry, no options page, no entry in the database. Instead, the place to go to configure the plugin is your theme’s functions.php. By the way: You don’t need to configure the plugin. As long as it finds an admin user, it will work just fine. Preparation Fire up an editor, load your functions.php, and copy and paste the following code into it. The idea is to have some sort of container to do the configuration in, but do it any way you like. For brevity, we’ll assume the plugin is loaded and active, so we won’t check for that (see this nice write-up on QueryLoop on some ways to do it, though). if (is_admin()) { // The path to the configuation is rather long, so let's // make us a shorthand. class_alias('\GlobalMetaBoxOrder\Config', 'MetaBoxConfig'); // Add MetaBoxConfig below this line ... } Now we are ready to add some of the configuration settings below to adjust the plugin’s default behaviour. You might also want to have a look at the example configuration near the end of this document. Please keep in mind that you need to be logged in as any user but your blueprint user to see a setting applied. Again, the User Switching plugin might come in handy. Screens To Operate On By default, the plugin operates on the post, page, and custom post type editing screens, and the dashboard. You can change this as follows: // Operate on post and page screens only, leave the dashboard alone. // This will still include custom post types. MetaBoxConfig::$filter = array('post', 'page'); // Exclude custom post types MetaBoxConfig::$include_cpts = false; // Allow custom post types... MetaBoxConfig::$include_cpts = true; // ...but not all of them MetaBoxConfig::$exclude = array('acme_product'); MetaBoxConfig in the example above is assumed to be an alias to \GlobalMetaBoxOrder\Config as shown in the preparation section above. Changing the Blueprint User Register a function that returns a user id, like so: MetaBoxConfig::$getBlueprintUserId = function () { return 1; }; Or, more involved: MetaBoxConfig::$getBlueprintUserId = function () { $user = get_user_by('slug', 'jane'); return $user ? $user->ID : false; }; MetaBoxConfig in the example above is assumed to be an alias to \GlobalMetaBoxOrder\Config as shown in the preparation section above. Locking Views By default, all users will be able to interact with the screen options box, and to move around the meta boxes themselves. There is a rationale behind it, but to cut things short, this is how you might want to change it: // No screen options MetaBoxConfig::$remove_screen_options = true; // Meta boxes can't be moved anymore MetaBoxConfig::$lock_meta_box_order = true; MetaBoxConfig in the example above is assumed to be an alias to \GlobalMetaBoxOrder\Config as shown in the preparation section above. Example Configuration if (is_admin()) { // Make sure plugin is active if (class_exists('\GlobalMetaBoxOrder\Config')) { // Make a long name short. class_alias('\GlobalMetaBoxOrder\Config', 'MetaBoxConfig'); // Settings MetaBoxConfig::$filter = array('post', 'page', 'dashboard'); // default MetaBoxConfig::$include_cpts = true; // default MetaBoxConfig::$getBlueprintUserId = function () { return 1; }; MetaBoxConfig::$exclude = array('acme_product'); MetaBoxConfig::$remove_screen_options = true; MetaBoxConfig::$lock_meta_box_order = true; } } On Moving the WYSIWYG Editor The position of WordPress’ WYSIWYG editor is fixed, and can’t be changed out of the box (mostly because it lacks a box around it). There are reasons for this, but if you want to have a positionable editor anyway, you might want to have a look at our very own Movable Editor plugin. If, on the other hand, if you want to place one specific box above the editor, you might want to check out this answer on stackexchange.
Top keywords
- user23×2.26%
- metaboxconfig18×1.77%
- post12×1.18%
- screen12×1.18%
- box10×0.98%
- default9×0.89%
- meta9×0.89%
- change8×0.79%
- settings8×0.79%
- above7×0.69%
- blueprint7×0.69%
- blueprint user7×0.69%
WPMasterToolKit (WPMTK) – All in one plugin
WP Master ToolKit is your all-in-one solution for optimizing WordPress. It streamlines your dashboard, enhances workflows, and simplifies content and settings management. Customize your WordPress installation effortlessly with all the tools you need at your fingertips. Test by Alexis Fichou (WP-Origami) : Test by Enzo (Easy WordPress) : 97 FREE modules Adminer: A full-featured database management tool. Advanced Debug Mode Allow Menu Custom Links to Open in New Tab. Apple Touch Icon: Manage app icon (Apple Touch Icon) individually. Auto Regenerate Salt Keys. Auto-Publish Posts with Missed Schedule: Automatically publish scheduled posts marked as "missed schedule" across all post types. Ban Emails: Ban the chosen emails. Blacklisted Usernames: Prevent creation of user accounts with predefined blacklisted or common usernames. Block User Registration from Disposable Email: Block user registration from temporary disposable email addresses. Block 404 PHP File Scanning Browser Theme Color: Select a tag color to allow seamless theme customization in all major browsers. Child theme generator: Generate a child theme directly from WordPress dashboard. Clean Profiles: Tidy up user profiles by removing sections you do not utilise. Clean Up Admin Bar. Code Snippets: Add custom code snippets without editing the theme’s functions.php. Content Duplication: One-click duplication of pages, posts and custom post types with taxonomy terms and post meta. Content Order: Custom ordering for hierarchical content types and those supporting page attributes. Custom Admin CSS: Add custom CSS on all admin pages for all user roles. Custom Body Class: Add custom class(es) on the singular view of some or all public post types. Custom COOKIEHASH Custom Frontend CSS: Add custom CSS on all frontend pages for all user roles. Disable All Updates: Completely disable core, theme and plugin updates and auto-updates. Will also disable update checks, notices and emails. Disable Block-Based Widgets Settings Screen: Restore classic widgets settings screen for non-block themes. Disable Dashboard Widgets: Clean up and speed up dashboard by disabling widgets that won’t load assets. Disable Feeds: Disable RSS, Atom, and RDF feeds and remove feed URL references from section. Disable Gutenberg: Selectively disable Gutenberg block editor for specific or all post types. Disable REST API: Disable REST API for non-authenticated users and remove URL traces. Disable Really Simple Discovery (RSD) tag: Remove RSD tag used by XML-RPC clients. Disable WP Sitemap: Disable the default WordPress sitemap. Disable Windows Live Writer (WLW) manifest tag: Remove discontinued WLW manifest tag. Disable WordPress shortlink tag: Remove WordPress shortlink tag from . Disable XML-RPC. Disable cart fragments scripts: Disable WooCommerce cart fragments scripts for public visitors. Disable dashicons CSS and JS files. Disable emoji support: Remove emoji scripts as modern browsers natively support emojis. Disable jQuery Migrate: Removes the jQuery Migrate script from the frontend of your site. Disable wp_mail: Disable WordPress email function to save resources on sites that don’t send emails. Disallow Bad Requests: Block malicious requests containing eval(, base64_, and excessively long strings. Disallow Dir Listing: Disable the listing of the directories. Disallow Malicious File Access in upload: Prevent malicious file access in upload directory. Disallow Plugin Upload: Disable plugin zip file uploads. Disallow Theme Upload: Disable theme zip file uploads. Disallow WP File Edit: Prevent core file modifications through admin panel. Disallow register user: Prevent new user account creation via WordPress registration form. Duplicate Menu: Easily duplicate your WordPress Menus Enhance List Tables: Add or remove columns in listing pages for post types, taxonomies, media, comments and users. Export Posts & Pages: Export posts and pages to CSV format. Export Users: Export user data to CSV format. External Permalinks: Set permalinks to external URLs with rel="noopener noreferrer nofollow" attributes. File Manager: Browse and manage files efficiently. Force SSL: Force HTTPS for encrypted secure traffic. Force Strong Password: Enforce strong passwords for all users to prevent weak credentials. Heartbeat Control: Modify or disable WordPress heartbeat API to reduce server CPU load. Hide Admin Bar: Hide admin bar on frontend for specific roles or all users. Hide Admin Notices: Gather all notifications in a popup accessible from top-right bell icon. Hide Login Errors: Hide default WordPress login error messages. Hide PHP Versions: Remove X-Powered-By header that reveals PHP version to potential attackers. Hide WordPress Version Image Upload Control: Resize large images, convert BMPs and PNGs to JPGs, delete originals. Insert , and Code: Insert tracking pixels, analytics, meta tags, and custom scripts. Last Login Column: Display last login date and time in users list table. Limit Login Attempts: Prevent brute force attacks by limiting failed login attempts per IP. Local avatars: Replaces GRAVATAR management with media management. Lock Admin Email: Prevent admin email address modifications. Lock Site URL: Prevent site URL modifications. Log In/Out Menu: Add dynamic login/logout menu items. Mail Catcher: Capture all outgoing emails. Maintenance Mode: Display customizable maintenance page. Administrators can still access the site. Manage ads.txt and app-ads.txt: Edit and validate ads.txt files. Manage robots.txt: Edit and validate robots.txt file. Media Cleaner: Sanitize file names and auto-generate metadata (title, caption, alt text, description). Media Encoder: Automatically convert images to WebP (AVIF in PRO). Meta Debugger: Display all metadata for a post, user, term, or comment. Move Login URL: Change the default login URL to a custom URL of your choice. Multiple User Roles: Assign multiple roles per user, useful for e-commerce or LMS plugins. Nav Menu Visibility: Apply visibility controls to menu items. Obfuscate Author Slugs: Hide user slugs in author URLs and REST API endpoints. Obfuscate Email Addresses: Protect emails from spam bots via [wpm_obfuscate] shortcode. Open All External Links in New Tab: Open external links in new tab with security attributes. Password Protection: Password-protect entire site from public and search engines. Admins retain access. Plugin & Theme Rollback: Revert plugins/themes to previous WordPress.org versions. Post Per Page: Set posts per page for each post type. Prevent User Enumeration: Block user enumeration via ?author= and REST API. Protect Website Headers: Add security headers to protect against phishing and data theft. Quick Add Post: Quick button to add new posts faster. Redirect 404 to Homepage: Redirect non-existent pages to homepage. Redirect After Login Redirect After Logout Redirect Manager Revisions Control: Limit number of revisions saved per post type. Register Custom Content Types: Register custom post types and taxonomies. Search Replace in database SMTP Mailer: Configure sender name/email and external SMTP for reliable email delivery. SVG Upload: Enable SVG file uploads. Temporary Login Wider Admin Menu 31 Pro Modules 410 Manager Add Essentials Shortcodes Admin Menu Organizer Auto clean actionscheduler_actions: Clean actionscheduler_actions database table from actions that have been completed | failed | cancelled. Better Password Hash Password Expiration CRON Manager: Manage cron events on your website. Change Database Prefix: Quickly change your WordPress database prefix to save time and enhance security. Custom Login Design: Personalize your login page to match your brand. Disable Comments: Manage the visibility of comments on your public posts by selectively disabling them for specific post types or across all posts. Disable Plugin For Debug: Temporarily disable specific plugins to troubleshoot and debug issues on your WordPress site without uninstalling. Disable Woocommerce Logout Confirmation Disallow Access WP Sensible Files: Delete the wp-config-sample.php, block access to readme.html, license.txt Disallow Countries IP Download medias as zip Force Send All Email To: Force all emails sent from your website to be sent to a specific email address. Generate Alt Text With AI: Automatically generate alternative text using AI. Head Sorter: Automatically sorts and optimizes the of your website, making sure important tags load first for better speed and SEO. Hook And Filter Debugger: Displaying the sequence of action and filter hooks by their origin on a single page. Link Shortener: Shorten your links with a custom prefix. You can also track the number of clicks on each link. Manage Admin Emails Notifications: Check the types of emails you no longer want to receive as an administrator. Media Replacement My Account Menu Customizer: for WooCommerce My Account page. No Plugin Activation / Deactivation / Deletion: Prevents plugin activation, deactivation, and deletion for enhanced security. Paste Image In Media: With this feature you can paste directly your picture in WordPress media. Plugin Download: Download plugins from the plugins page in the WordPress admin panel. Post Type Switcher Two Factor Authentication Updates Logs: Track and record the most recent login activity of site users, then showcase the date and time in the users list table User Switching Vulnerabilities Scan PRO Additionnals Features Move Login URL: Block access to /wp-admin with server side 403 error for non-logged users. Maintenance Mode: Real countdown timer with automatic site activation. Bypass link generation for access during maintenance. Exclude specific URLs from maintenance mode. Media Encoder: Convert images to AVIF format (PHP ≥ 8.1). Free version limited to WebP only. Mail Catcher: Unlimited email capture. Free version limited to 5 emails per day. Advanced Debug Mode: Live log streaming viewer with real-time monitoring. Daily logs with date suffix. Custom log path with enhanced protection. Search Replace in database: several search/replace pairs, support for regular expressions and a much more complete detailed overview of detected changes. SMTP Mailer: 19+ premium providers including Gmail, Outlook, SendGrid, AWS SES, Brevo, Mailgun, Mailjet, Postmark, SparkPost, MailerSend, Resend, SendLayer, SMTP.com, SMTP2GO, Elastic Email, Zoho Mail, SendPulse, Mandrill, and Pepipost. Free version limited to PHP mail and generic SMTP. Redirect Manager: Advanced redirect engines (Apache and Nginx), redirect logs, and CSV import/export. Free version limited to WordPress (PHP) redirects without logs/import-export. ⭐️ UPGRADE TO PRO VERSION: WPMasterToolKit Pro ⭐️ Other plugin by Webdeclic Webdeclic is a French web agency based in Paris. We are specialized in the creation of websites and e-commerce sites. We are also the creator of the following plugins: * QuickWebP * Cookie Dough * Univeral Honey Pot * Clean My WP * Mentions Legales Par Webdeclic * Lexilink * Show all plugins on WordPress.org