WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have looked everywhere and there's been a few attempts to do this in my themes function.php file but no luck.

What I'm after is that to make it easier for my Contributors, that the add new post is in one column, easier for them to do it step by step.

I know I can change it in the screen options but I would like it by default so then they have it all done for them.

share|improve this question

migrated from stackoverflow.com Jul 3 '11 at 11:49

This question came from our site for professional and enthusiast programmers.

This is a tricky one, there is a filter called meta-box-order_{$page} where page is the name of the post type so for post you can use:


 function one_column_for_all($result, $option, $user){
    $result['normal'] = 'postexcerpt,formatdiv,submitdiv,trackbacksdiv,tagsdiv-post_tag,categorydiv,postimagediv,postcustom,commentstatusdiv,slugdiv,authordiv';
    $result['side'] = '';
    $result['advanced'] = '';
    result $result;

this is untested!!! but should work.

share|improve this answer
I tried putting that into my functions.php Bainternet but no luck. I have tried a few snippets of code now but nothing seams to actually work this issue. Thanks, Art – user6750 Jul 5 '11 at 8:58
How does this affect the screen options panel? What if a user then switches to two-column, will all their settings be lost upon a page refresh? – kovshenin Aug 4 '11 at 10:25
Yes this overwrites the user settings when refreshed – Bainternet Aug 4 '11 at 14:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.