Wordpress Page or Post Admin move where Categories and Taxonomy appear

Wordpress Page or Post Admin.
Is there a function or template inside of WP that I can hook into and move The categories box? I created my own Taxonomy and I would like to edit where it appears on the page. The picture is attached that shows my custom taxonomy and where I may want to move it.  Any help in finding the function that places taxonomy and categories on the page will be greatly appriciated
Who is Participating?
gr8gonzoConnect With a Mentor ConsultantCommented:
Not for changing that location, no.

There's a filter for replacing the editor as a whole (instead of using edit-form-advanced.php), which could include your own custom copy with its adjusted locations, but that's pretty drastic.

If you want to really drive into it, that edit-form-advanced.php file has a few actions that surround the various areas where the meta boxes are added - you could create a plugin that starts an output buffer (ob_start) on the "edit_form_after_editor" action (which fires before the sidebar / metaboxes are constructed), and then have the plugin also fire on the "dbx_post_sidebar" action to end the output buffer.

Your buffer should have ALL the meta boxes inside (both in the sidebar and below the editor), including your category box (<div id="categorydiv" class="postbox">) and your tags box (<div id="tagsdiv-post_tag" class="postbox ">).

You could then extract/remove those boxes and then inject them inside the "normal-sortables" div (<div id="normal-sortables" class="meta-box-sortables ui-sortable">), and then output the result.

You would simply need to be comfortable doing the proper HTML manipulation.
There is no attached picture, but typically when you're talking about a particular type of object's placement on a page, that is usually handled within your theme's files, either in the header, footer, template, or functions files.

If you're having trouble locating the specific file, you can always use the developer tools within your browser to inspect one of the categories, and then hover over the parent elements one-by-one (working your way outwards) until you find the right container. Then you should know what to look for in those theme files.
rgranlundAuthor Commented:
I forgot the picture.
Oh so you're talking about edit the ADMIN area.

So a forewarning - to do this, you have to edit the default source code, so this change could potentially be overwritten during your next WP upgrade. Basically, edit the wp-admin/edit-form-advanced.php file, search for this line:

add_meta_box( $tax_meta_box_id, $label, $taxonomy->meta_box_cb, null, 'side', 'core', array( 'taxonomy' => $tax_name ) );

Open in new window

...and change "side" to "normal":

add_meta_box( $tax_meta_box_id, $label, $taxonomy->meta_box_cb, null, 'normal', 'core', array( 'taxonomy' => $tax_name ) );

Open in new window

That will move the categories and tags boxes to be below the content editor.
rgranlundAuthor Commented:
@gr8gonzo.. there is no hook or filter?
All Courses

From novice to tech pro — start learning today.