WordPress.org

Ready to get started?Download WordPress

Forums

Change Default Position of Category and Publish Boxes (2 posts)

  1. danzigism
    Member
    Posted 3 years ago #

    Is there a way to change the default positions of the Category and Publish boxes? I know that you can drag them around and move them manually, but I have created a special user role and it would make sense in this particular case to have the category selection box at the very top of the Posts editing screen, stretched out horizontally. Sounds strange, but for this case having the category selection at the top, and the publish button at the bottom will work out nicely for these certain types of users. Any help would be greatly appreciated. Thank you!

  2. danzigism
    Member
    Posted 3 years ago #

    I imagine I can do this by some how utilizing the add_meta_box() function. However I'm unsure as to how I can do this with a custom post type and taxonomy.

    The taxonomy selection box has an ID titled contractor_categorydiv - And the taxonomy is called "contractor_category", and "listings" is the custom post type.

    add_meta_box( 'contractor_categorydiv', 'Category Selection', 'postbox', 'listings', 'normal', 'core', array( 'taxonomy' => 'contractor_category' ));

    Not sure if this is the correct syntax, but nothing appears either way heh.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.