There is user settings (user metadata) which override the initial meta box order. So it is up to user which meta box he want to display first. User can drag and drop metaboxes and arrange them in any order which he want regardless the order you’ve defined.
You can go to user meta table and find key with name meta-box-order_{post_type}
e.g. meta-box-order_page
delete the value of this key then check again.
There is nothing wrong with your code.
Related Posts:
- Set Default Admin Screen options & Metabox Order
- How to set default screen options?
- Add “upload media” button in meta box field
- Does WordPress have a “Form API”?
- Metabox with checkbox is not updating
- Best practices for meta box placement?
- Hiding a theme’s meta box
- Access the environment of an admin page from another admin page
- Add filter ‘wpautop’ to meta box textarea
- add_meta_box does not go ‘side’
- Getting jQuery sortable items in custom metabox
- get_post_meta doesn’t work
- Dynamically Creating Meta Boxes
- Remove border on custom meta box
- Create a page Meta Box listing all blog users
- Position right sidebar metabox right below the publish metabox?
- MetaBox Layout for all users
- How to store multiple input values with same meta_key
- post-excerpt not one of the options under screen options
- How to remove/hide the predictive autocomplete popup when I type in the tag/term metabox
- make a excerpt on data from a meta box?
- metabox upload file
- How to add a SAVE button to replace PUBLISH on a custom post type?
- Why does get_post_meta not work with the posts page?
- Add_meta_box not appearing, but does appear in screen options
- Change the post date from a meta box
- update_post_meta and get_post_meta not working
- Convert textarea with wp_editor
- Repeatable custom meta fields
- Metabox saves on Update or Publish, but not on Saving Draft
- metabox with custom post type values
- Checkbox on a meta box using CMB2 Plugin
- Visual/Text tabs in wp editor Not Showing
- Decide Metabox Configurations for All Users
- metabox select – frontend display
- Set default post author to none on new post
- Change the context of excerpt metabox for the ‘New Post’ page
- how to save and get selected item id list with add_meta_box
- How to have meta boxes save via REST in Gutenberg?
- Remove anchor tag from meta box link
- Show preview of post changes on page
- Add Metabox to settings / options page
- Meta Box will not display
- cannot grab post meta from extended Walker_Category class properly
- Resetting admin post form on JS validation fail
- How do you List all Sidebars in a Metabox
- Create more Meta Boxes as needed
- Add a meta box to ALL Pages
- How to disable Author dropdown in Gutenberg’s Status and Visibility panel
- How to remove some metaboxes for CPTs?
- How to add metabox ONLY to specific WooCommerce product type [closed]
- Why does not my metabox save?
- Add metabox without the container
- wpalchemi metabox doesn’t show value from my post type
- HTML Table creator in metabox to put into post theme
- How to use Gutenberg in CMB2?
- Display Content if custom meta box checkbox is checked
- How can i get multi checkboxes value in metbox?
- Error showing in current page id in wordpress admin
- Show value of select dropdown in meta box
- Output list from each line of metabox (shortcode)
- Hybrid meta box, how to show?
- Include doesn’t work, getting strange path: (/usr/local/php53/lib/php) – Whats wrong? (WPAlchemy)
- wordpress alchemy put custom metabox on certain page only
- using WPalchemy to output custom metabox from homepage template
- save radio button selection in post-meta on submit
- Custom meta box data in rss feed
- ShortCut on meta boxes
- Post edit screen: How to check if meta_box is registered?
- How using the Meta Box plugin, to filter posts by the value of a post type field?
- How to ‘clone’ select metabox options with a callback function? [closed]
- Saving multiple fields (dropdown and text) in custom metabox
- metabox dosn’t save with checkbox of post_type values order by taxonomy
- display all registered meta boxes
- where can i see the registered new field for posts using register_meta() ?
- update_post_meta doesn’t work
- Is there default meta boxes types that handles types and sanitization?
- how to update editor content from metabox
- Resposive admin classes?
- Only allow one meta key value per post in a category
- Make metabox always be on top (sticky)
- Ridiculous problem with CDATA [duplicate]
- Can’t save drop down select date in meta boxes
- WordPress check if value equals and echo “checked”
- Custom metabox for file upload return empty filename
- Video slideshow
- Meta Box Value not saving / populating?
- Customer portal (posts as checklist)
- How to set default screen options?
- Reload meta box content with AJAX
- Option to delete value in metabox
- why esc_url not working in smartmetabox
- Change Default Custom Fields Metabox Name on cctm plugin
- How to create metabox that can be queried in the database?
- Form submit from modal window to parent window
- How to display meta box data using “Meta boxes as needed”
- Allow iframe in custom meta box
- Datepicker altField and altFormat to save a new meta key/value in a post?
- how making a selection from a taxonomy selector fixed definitively
- How can I put a checkbox in the post editor