Winner of the Best WordPress Business Website - WP Honors 2011
Since 2004
 

Forums

 

Manuals

 

Videos

 

Live Support

 

WPMU.org

Is there a way to modify the Edit Page form to move the editor down?

Inactive

I'm able to use remove_meta_box to remove the Discussion and Attributes widgets, but I can't figure out how to move the Editor down so I can insert my own widgets above it. I hooked to edit_page_form and admin_menu, but all my stuff still shows up below the editor. I looked at edit-page-form.php and the page title, slug and editor are not wrapped in a container that I can just turn off and then re-add after I create my meta boxes.

Thanks in advance.

Everyday at WPMU DEV we help hundreds of WP Users. Become a member today to:

  • Download 250+ Premium Plugins and Themes
  • Get unlimited support from WordPress Experts
  • Get help with your WordPress or BuddyPress projects

Help & Support from WPMU DEV members and staff

Staff

On the page edit screen you can dag and drop the boxes. I'm sure this is saved via Ajax to a user metaoption or blog option. Just modify that on the fly and that should do the trick.

Keeper of the Dark Chocolate

I think it's saved as a cookie as I remember having to redo it every time since I clear out my cookies upon closing out Firefox.

Get personal, comprehensive and timely support and assistance
from WordPress Experts

Inactive

Thanks, but the editor is not draggable (it's the only part of the form that isn't). Beside, I want all the user to see the new format, so it wouldn't do me any good to moved the boxes on my machine.

I don't know that I have much choice but to replace the Page Edit form with my own custom one. It appears that not everything in Wordpress is customizable.

Staff

You can always use jquery to insert it above as a last resort clientside. I had to do that on one of my plugins when there were no hooks.

Inactive

You can always use jquery to insert it above as a last resort clientside.

Any example on how to do that?

Thanks

Staff

Something like:

<script type="text/javascript">
jQuery("#titlediv").prepend('<b>Hello </b>');
</script>

You can prepend whatever html you want. You could run it in the admin head checking for the page form or in a meta box.

You should be able to use a variation of the above to move your meta box itself, like:
jQuery("#pageauthordiv").prependTo("#titlediv");

http://docs.jquery.com/Manipulation

Get personal, comprehensive and timely support and assistance
from WordPress Experts

Inactive

Has anyone figured out a way to move the boxes on the post create / edit page and get the boxes to stay where you put them (for next time).

Erstwhile founder

I don't believe anyone has taken the time to put the necessary code for this together and shared it.

Thanks,
Andrew

Inactive

I would like to reduce the boxes for the Editor (Excerpt / Trackbacks / Custom Fields) ... Just keep it simple, content box, image -> publish done. Is there a way?

Inactive

Found it. So maybe better to pay wordpress.org http://wordpress.org/support/topic/351448

Get personal, comprehensive and timely support and assistance
from WordPress Experts

Keeper of the Dark Chocolate

I remember in the back of my mind something called "simple posts page plugin" or something like that but I;m drawing a blank when I went looking back when you first asked. Sorry.

We can help you out. Become a member today to:

  • Let our team help you out today and access to over 250+ Premium Plugins and Themes
  • Find out why people saying "it's like having your own developer"
  • WPMU DEV - The WordPress Experts