This may be a duplicate of this question – Changing the priority of a custom taxonomy’s metabox but I can’t work out how to apply that answer. I’m unsure what my custom taxonomy div label would be and how to get it to apply to only a custom post type.
I have a custom taxonomy, created with register_taxonomy and I would like to make the taxonomy box appear inbetween the post title field and the editor field in the wp-admin add/edit post area, for a set custom post type. Usually you can change CPT order in the admin menus with a priority field, but I don’t think there is one for taxonomies…
Thanks
In your case you can edit the following code to accomplish what you are looking for by assigning the custom taxonomy meta box to a custom context and then running
do_meta_boxes
In this particular code snippet it will move your sidebar meta boxes below the title and above the content editor fields.
After researching s_ha_dum’s link and others for a while it seemed like the only way to position meta boxes in between the title and editor fields was to remove and readd the main editor like this, but this feels a bit hacky to me and receives a warning from another answerer about potential problems.
I was able to combine @s_ha_dum’s method for creating a position for a new meta box, and this code which enabled me to create a new meta box that functions like a category taxonomy.
In case it helps anyone, here is the working code to make a custom taxonomy appear in-between the title and editor: