I want the main WordPress post editor to appear below some of my meta boxes (generated by Advanced Custom Fields).
I know there are the add_meta_box()
and remove_meta_box()
functions, however it’d be really awesome if I could just modify the editor meta box priority without having to remove and add it again.
Any ideas?
The editor is hard-coded into the form. It isn’t inserted by
add_meta_box
.There is a hook called
edit_form_after_title
which you should be able to use though.Proof of concept:
To answer my own question, I’ll first explain why @s_ha_dum’s answer doesn’t work for me.
I’m using Advanced Custom Fields to add the extra meta boxes, the ones I need to appear above the WordPress editor.
@s_ha_dum pointed out that the WordPress editor is hardcoded within the template, but I noticed it can be disabled by removing support for the editor. With this in mind I’ve disabled support for the editor, then added the code for the editor in a new meta box.
Et voila: