Robert Granlund
asked on
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
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
ASKER
I forgot the picture.
taxonomy.PNG
taxonomy.PNG
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-advance d.php file, search for this line:
...and change "side" to "normal":
That will move the categories and tags boxes to be below the content editor.
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-advance
add_meta_box( $tax_meta_box_id, $label, $taxonomy->meta_box_cb, null, 'side', 'core', array( 'taxonomy' => $tax_name ) );
...and change "side" to "normal":
add_meta_box( $tax_meta_box_id, $label, $taxonomy->meta_box_cb, null, 'normal', 'core', array( 'taxonomy' => $tax_name ) );
That will move the categories and tags boxes to be below the content editor.
ASKER
@gr8gonzo.. there is no hook or filter?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.