0

I have found edit-form-advance.php in /admin/ that contain layout of edit-post page

Have any way to customize layout via add_action(); ? because I didn't want to edit directly within Wordpress admin file.

enter image description here

5
  • Are you trying to add metaboxes, remove existing metaboxes, or move metaboxes between columns? ( they're drag and drop )
    – Tom J Nowell
    Aug 27, 2012 at 7:56
  • No, just change "layout" like a custom table view for editing mode.
    – meddlesome
    Aug 27, 2012 at 11:09
  • The layout of the edit page or the layout of the editor itself? I'm not sure what you mean. If you want to insert tables in your content there are plugins for that.
    – Tom J Nowell
    Aug 27, 2012 at 13:23
  • Yes, layout of "edit page" like this imageshack.us/photo/my-images/515/screenshot25550828at100.png that rearrange layout for editing or create new post.
    – meddlesome
    Aug 28, 2012 at 3:05
  • That looks like a total rewrite, have you considered doing it on the frontend?
    – Tom J Nowell
    Aug 28, 2012 at 9:05

1 Answer 1

1

Seeing the image you posted, you have two sane options:

  • Implement a frontend add/edit UI
  • Hide the posts admin UI and build your own

Considering that eitherway a rewrite is needed, I recommend using the frontend.

If you really want, you could hide all the metaboxes etc on the edit page and add your own at the bottom, but, this is 95% of the work for the above, in addition to hiding all the rest and tracking changes across versions, and the eventual maintenance nightmare.

Refer to wp_update_post, this will be the function you use to update the post in your save routine when the form is submitted

1
  • Now I was implemented custom-UI in "wp-admin" zone with original Wordpress layout for wp-admin/edit.php, wp-admin/post.php Everything is properly work ! even Javascript. but I want to modified layout for edit-form-advance.php as I was researched that contained "editing layout" for edit.php and post.php. as mentioned I didn't want to edit these file directly. but as you seen in captured image, I was editing layout in edit-form-advance.php directly as not found any solution for this currently. img546.imageshack.us/img546/3356/screenshot25550828at539.png
    – meddlesome
    Aug 28, 2012 at 10:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.