Try adding this in your functions.php file:
// Let's stop WordPress re-ordering my categories/taxonomies when I select them
function stop_reordering_my_categories($args) {
$args['checked_ontop'] = false;
return $args;
}
// Let's initiate it by hooking into the Terms Checklist arguments with our function above
add_filter('wp_terms_checklist_args','stop_reordering_my_categories');
Related Posts:
- How to modify the output of wp_terms_checklist when used within the built-in category metabox on edit posts?
- How to display non-hierarchical taxonomy as terms with checkboxes?
- Render Selected Categories in Admin Edit Post Screen differently
- Want to hide some categories from the categories meta box in the post editor for the two specific user roles
- Why does the argument list_only do on Walker_Category_Checklist::start_el?
- How can I edit the ‘Most Used’ tab in the categories meta-box to show another custom taxonomy?
- How to get selected taxonomy or category ID if using custom walker?
- Two related taxonomies. how to filter terms in second taxonomy depending on selected term in first taxonomy on Post edit page?
- get_categories for custom post type with a specific custom taxonomy attached
- Could not insert term into the database
- Combine two taxonomies in a hierarchical tree
- Weird behaviour when adding terms/term_taxonomies programmatically
- How can I select a primary category?
- Custom Nav Walker menu – Display category count
- How to Make a Categories Meta Box with Hierarchical Checkboxes on Frontend?
- Add search to list of categories in post editor
- Need help adding custom field to category
- How to get next previous category in same taxonomy?
- Display only deepest category on a single post?
- Save metabox checkboxes values to custom content type
- WP 3.0.5: Best way to add custom metaboxes for post categories?
- What’s the difference between “parent” and “category_parent” in a WP_Term object?
- Update taxonomy value of post type in query
- How to query posts from specific authors and categories using WP_query?
- How can I convert some categories to a custom taxonomy?
- Any way to assign Post Categories and Tags to Links?
- Display name of the last child category
- Show thumbnail for category?
- How to remove the “+Add Category” button from the Category metabox?
- How to export/import categories and keep their IDs?
- How to use wp_category_checklist()?
- List Terms in Category
- How to get category URL with the slug?
- Get all sub-categories of a parent category
- How to view WordPress’ default category IDs?
- Random taxonomy category list
- Change existing taxonomy settings when using custom taxonomy
- Category pie diagram meta box in post editing page
- Show Available Taxonomy List with Current Category
- category filter doesn’t work in WPML
- Exclude a category from the_category in the single post page
- Display specific categories by ID
- Create menu / submenu from category subcategory and posts
- Filtering *out* a taxonomy from the admin post list
- category image taxonomy
- Custom Walker for wp_list_categories
- How can I improve this taxonomy treating approach?
- get_terms function not returning anything
- Display custom taxonomy attached to the post on post single page
- How to display parents category and child category separately for a specific post?
- Hooking to walker_nav_menu_start_el to insert list of subpages
- Admin: Navigation Menus do not show empty categories/taxonomies in the list’s search tab
- wp_list_categories walker without links on categories that have subcategories (to make a nested dropdown menu)
- How to display a value inside a post with a specified category from a category custom field? [closed]
- Echo text using is_tag
- Grandchild Term Things Grandfather Term is It’s Parent
- What Must to Display the “mysite.com/category” URL?
- Get posts of a custom post type from category from taxonomy?
- Same menu for different taxonomies to reach different content
- Change categories count to include media attachments
- How could I write a get_categories_by_year() function?
- Get posts in a subcategory of a chosen parent
- Natural sort / ordering wp_dropdown_categories
- Best way to categorize/populate a magazine style layout
- create relationship between posts from one category and posts from another category
- sidebar troubles, taxonomy trouble
- Displaying posts of given category
- get_the_category – display only a single category for a post (not all categories)
- display category with background color
- Automatically adding tags and categories into Post Excerpt for searching
- How can i add service category here? [duplicate]
- Show subChild categories
- WordPress 5.4 and higher: Filter posts by category 1 AND category 2 in API requests
- How to set the same base url for two different taxonomies?
- Limit categories to hierarchal depth of 2
- Show the parent taxonomy by creating shortcode in woocommerce?
- How to remove an item from a custom Walker_Nav_Menu
- WordPress Portofolio Conditional Templating – functions php
- Parent Category and Subcategory default text generated with category
- Get WooCommerce product category list in functions.php
- Post List by category and under custom taxonomy
- How to get the term id inside the start lvl method of category walker?
- Create duplicate category page with content variations
- Renaming default category taxonomy?
- How to echo Tags and Categories as plain text
- How can I add metaboxs to Admin Bar?
- How can I add HTML classes for current taxonomy/term hierarchy into my pages to simplify styles?
- Display List of Categories Within a Custom Taxonomy
- How to add a post with new Taxonomy without assigning to default category?
- Why is my post categories not displaying?
- Problem importing categories and sub-categories
- How to add all categories into an array and extract the categories names and use it with a custom meta box
- list taxonomy based on taxonomy
- get IDs from links categories
- Show parent-child relationship for categories in the wordpress admin
- Order Categories by Character Count
- hide_empty property not working when using get_terms
- Add custom fields to Woocommerce Category Page
- How to make /category/ URL load properly instead of 404 error?
- How to get parent and child sub category (Taxonomy) order to display