There is a filter called get_user_option_meta-box-order_{$page}
where $page
is the name of the post type. Just make sure that submitdiv
is the last value in the array:
add_filter( 'get_user_option_meta-box-order_post', 'wpse25793_one_column_for_all' );
function wpse25793_one_column_for_all( $order )
{
return array(
'normal' => join( ",", array(
'postexcerpt',
'formatdiv',
'trackbacksdiv',
'tagsdiv-post_tag',
'categorydiv',
'postimagediv',
'postcustom',
'commentstatusdiv',
'slugdiv',
'authordiv',
'submitdiv',
) ),
'side' => '',
'advanced' => '',
);
}
Related Posts:
- What does this PHP function code mean? [closed]
- Restrict custom post type to only site administrator role
- Linking Two Post Types
- How can I add a column/s to wp_posts table?
- WP_List_Table Inside Metabox Not Working on Submit
- Add metabox with media uploader in a custom post type [duplicate]
- modify all posts of a category to “no comments allowed”
- Why is the »_builtin« parameter not advised in »register_post_type()« for custom post types?
- Showing current taxonomy terms
- Add comments meta fields to comments metabox on post edit screen
- automatically create taxonomy with same name as post title
- How to add a select menu to this metabox code?
- Assigning a role to a specific custom post type (and ignoring other post types)
- Display posts in random post types
- Custom Post Type by user
- saving custom post type data to different table in wordpress
- Query post types with multiple keys
- Having trouble with custom post type / meta box
- add_meta_box: Datepicker like the one for postdate?
- [Plugin: Posts 2 Posts] Changing display order of connections
- same archive template for different custom post
- Change Post Title Edit Box
- Multiple information using custom post type
- Get all posts WHERE custom_field is LIKE value
- Get the post children count of a post
- How to delete all posts from a custom post type?
- Check Title Unique Or Not and If not error message and dont save
- Remove All, Published and Trashed Post Views in Custom Post Type
- How to post twitter like updates on wordpress
- Show Two custom Post type and their posts on category page
- apply filters only to specific post listing without check the url parameters
- Dynamically add / duplicate custom meta in custom post types
- Custom post type and body_class: Remove “blog” class
- Deleting Custom Post type data using mySQL command
- How can I create a custom meta box to add an mp4 video to a page?
- Is there a way to have the view link on manage posts page to open in a new window or tab?
- Adding dropdown select meta box to custom post type – seems restAPI is interfering
- Display only one post each WEEK
- List custom taxonomy specific to one custom post type
- Is it possible to create relational metabox values in a custom post?
- Meta query for custom post type ignored in main query
- Changing custom type name hides the posts
- Show titles, date of all posts on single category page
- Update postmeta Parent when post_status child change
- Cannot save CPT meta box
- Allow users to create posts without logging in?
- How to sort posts in a custom post type by title in ascending order by default?
- Get_the_terms restrict output
- Custom post type menu
- How to insert data into meta box from another plugin?
- YOAST SEO won’t work on custom post type archive [closed]
- Separate Content from gallery (custom post type)
- WordPress Count posts within a custom post type
- Custom post type tags not showing in search
- CMB select with data from CPT
- How set template for “custom post type” individual post
- Create a custom post type based on ‘Post’
- Placing Admin Post Metaboxes in Tabs
- Why is my custom post content only viewable when signed into WordPress?
- Adding specific custom fields (images) to post excerpt
- $_POST from a Meta Box
- Limit posts per page depending on the size of a div?
- Delete Post by User
- creating a custom post template
- Problem to get the link of the default ‘post’ post type like the orther custom types
- One Post with different content, depending on a Page
- Custom Post Type
- How to make post page unique and show it on home page?
- Edit post meta direct from post.php?
- How to Arrange Support => Thumbnail
- Display a post count from a custom metabox selection
- Custom metabox value not saving
- Display all post types together
- Turn post into simple slideshow
- Problems with a custom meta_box
- Query multiple post of which one by taxonomy
- How to make a template for a specific post of a custom post type?
- How to delete unnecessary custom post types in the UI
- How to create a job post by email parsing? [closed]
- Canot save post if any meta box was empty
- show posts under custom post type with same autj
- How to automate the creation of advanced layout article/post
- display posts, pages and custom post types from another wordpress site
- is therer any wordpress function to retrieve a specific html element from post content
- How to develop Knowledge center in WordPress Website
- Add custom field to media attachment image attribute in post editor
- Show metabox in custom-post-template depending on taxonomy term?
- Storing Custom Post Type Data in a Custom Table
- I am having a problem with form updating/editing WordPress post on the frontend
- Populate Custom Fields in a Custom Post Type?
- How to allow visitors to enter custom post type?
- Why are taxonomy terms not saving when using custom meta boxes with radio button taxonomy selectors?
- Disable closing on metaboxes
- Limit the post for differents custom post type in the same wp_query
- How can I have different content for different countries?
- Retrieving meta-box from a custom-post-type
- How can i order my posts by post type?
- Different post types arranged on one page
- Add Metabox to all custom post types
- Creating entries with image attachements within posts and managing them in a list