You can use the filter screen_layout_columns to set only one column for the post screen get_user_option_screen_layout_post to force the user option to 1.
If you want to use that for custom post type then use
get_user_option_screen_layout_{post_type}
The following code will do it:
function so_screen_layout_columns( $columns ) {
$columns['post'] = 1;
return $columns;
}
add_filter( 'screen_layout_columns', 'so_screen_layout_columns' );
function so_screen_layout_post() {
return 1;
}
add_filter( 'get_user_option_screen_layout_post', 'so_screen_layout_post' );
Related Posts:
- WordPress 3.2 Admin UI Guide
- lock meta box position on post edit screen for contributors
- How to create admin tabs [closed]
- How to use “menu_order” field for posts?
- Remove ‘Custom..’ option in tinyMCE colour swatch
- How can I enable Google Analytics on a file download link?
- What is the best method to close off the backend?
- Change Login URL Without Plugin
- Pre-fill fields with content from outside when creating a new post
- Why are admin scripts not printed
- White screen of death only in wp-admin
- Change the link of ‘Howdy’ at the top right
- wp-admin pages return ERR_EMPTY_RESPONSE
- wp-admin remove the subfolder URL
- Reorder custom submenu item
- Options for restricting access to wp-admin
- Unwanted redirect in admin area
- Looking for a hook to add attachment information to the media library tab
- Removing admin bar from wordpress dashboard
- Load Balanced WP with single server admin access
- How to move wp-admin login page to another location? [closed]
- WP-admin giving 404
- How to control contextual help section by code?
- Can’t access wp-admin Internal Server Error 500
- File exceeds upload_max_filesize, despite max filesize being large enough
- WordPress admin not changing language
- Can’t access dashboard, connection times out (other pages work fine)
- Getting post meta data, while editing a post in wp-admin panel [closed]
- Add custom text to Page Tamplate without need to know html
- Move WP Admin Bar
- Get Stylesheet To Showup in WP Admin Panel Editor
- Deprecated : contextual_help has been deprecated since version 3.3.0
- Just how ‘expensive’ is this function?
- Custom Background-Image not showing up
- js Conflict in admin panel – I guess it’s from the core WP installation
- Why is there an intermediate redirect to https://public-url.org/wp-admin?
- Remove query var on admin pages when ‘Save changes’ pressed
- How to hide wordpress default description box?
- Create a fullwidth dashboard widget
- admin_url in plugins
- Share Tags Between Custom Posts in Admin
- Website looks fine, but login to wp-admin yields a blank screen
- Filter dropdown in users.php “delete user” bulk edit screen
- Cannot find an OLD Gravity Form on an OLD Word Press site [closed]
- cannot find the login page for local WordPress site
- In editor-style.css how can I change background color of title field?
- /wp-admin/ 500 error
- Where did the screen options menu go?
- How do I change the upload file size limit in single-site wordpress install?
- Can’t call external stylesheet for WordPress admin (using wp_admin_css)?
- wrapping ‘rest_api_init’ in ‘is_admin()’ function
- display dynamic WP Site logo on wp-admin using CSS
- WordPress notification reports
- Restore a layout [closed]
- Logging into sandbox subdomain WP
- Page update through theme editor caused wp admin to break
- White screen of death on admin and other dashboard pages
- TinyMCE strips breaks inside editor
- can not access wp-admin after migrating to openshift
- wp-admin url doesn’t allow to login and redirects to same page
- Custom Admin Pagination links
- Have different site location for wp-admin in IIS
- Lost administrator privileges and can’t find a fix
- How to display site title with post title?
- Cant login to wp-admin
- Cannot redeclare wp_update_core()
- Remove WP Admin Menu Items by User Role
- Our Team not showing on website [closed]
- Get current session in WP admin
- Strange problem with HIdden Input field and WPAlchemy
- Uncaught SyntaxError: Unexpected Token Illegal
- How to remove the Login Customizer menu from the WordPress dashboard
- How to add a field on the user creation page?
- How to check if a user is in a specific role?
- Login redirect_to url is pointing to a url with the port
- data-vocabulary.org schema
- Unable to access my page or WP Admin
- Get current URL in Form action
- How to move “Collapse Menu” to top of admin bar?
- I cannot get the “Read More” button to work!
- Appearance -> Menus doesn’t show
- Show comments in Backend
- How to hide comments from private posts on user dashboard
- Child theme loses wp-admin styling
- Conditions for admin get_current_screen action parent_file edit.php?post_type=page
- Replace whole paragraph on multiple pages
- Error establishing a database connection – after updating DNS
- Admin section showing CUSTOM Permalink structure thus resulting in permission error [closed]
- Hook into backbone to add js to wp-admin -> media library?
- Weird admin area
- Renaming child-theme folder fixed wp-admin blank
- Unable to access dashboard (wp-admin) only
- is_admin() conditional statement
- Admin Login page not working at all
- Non Object Notice Error – How to fix please
- wha does the following function remove from wordpress users admin area? [closed]
- Why when I click on a link into the WP admin panel I am redirected to a link that doesn’t contains wp-admin prefix, so I obtain 404 error
- How to make the Panel // WP-Admin lighter via Mobile
- React Material UI and WordPress Admin Area
- WordPress Add/Edit Post right admin sidebar change title