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?
- Is There a Difference Between Taxonomies and Categories?
- Only one category per post
- Can I add a Category Metabox to attachment?
- Is there an easy way to make a meta box have the tabs like the Categories meta box has?
- Check if a post is in any child category of a parent category
- How to export and import taxonomies (category, tag and/or custom taxonomy) and their terms
- get_categories for custom post type with a specific custom taxonomy attached
- How do the ‘tag’ and ‘category’ (default) taxonomies do ‘save_post’ action?
- Control term order on a per-post basis
- Could not insert term into the database
- How can I add the featured image functionality to a custom taxonomy?
- Share one taxonomy across multiple blogs in 3.0 [duplicate]
- Can a Child Category Have More than One Parent?
- Combine two taxonomies in a hierarchical tree
- Weird behaviour when adding terms/term_taxonomies programmatically
- How can I select a primary category?
- wp_update_nav_menu_item() to insert categories
- Custom Nav Walker menu – Display category count
- display category with background color
- Category post count is not correct
- Disable Category Taxonomy
- WordPress Default Category and Custom Taxonomy Selected Attribute not Working After Searched in wp_dropdown_categories Array
- Automatically adding tags and categories into Post Excerpt for searching
- How can i add service category here? [duplicate]
- Show subChild categories
- How can i change sort category view starting from child then parent, not alphabetically
- 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?
- Taxonomy custom check box meta field not getting saved
- Limit categories to hierarchal depth of 2
- How to set acf color field as background color to product category
- How to target all woocommerce categories that don’t have any subcategories in them?
- Show the parent taxonomy by creating shortcode in woocommerce?
- How to remove an item from a custom Walker_Nav_Menu
- Filtering posts in category by tag URL
- 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
- Bulk assign posts to a category using SQL (MySQL)
- get taxonomy list in a page in the wordpress
- Number of categories slowing down the site
- Image Upload Custom Form Field for Category and Custom Taxonomy
- Meta Box: display single image on an archive-template
- outputting taxonomy hierarchy
- Confused about category.php template – not working
- How to get the term id inside the start lvl method of category walker?
- Filter custom taxonomy posts via AJAX
- Create duplicate category page with content variations
- Why use hierarchical taxonomies instead of many custom taxonomies?
- Renaming default category taxonomy?
- How get all media from a posts category by db?
- 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?
- How to Manage and link certain custom taxonomy?
- Display List of Categories Within a Custom Taxonomy
- Display Taxonomies in loop with template args
- How to add a post with new Taxonomy without assigning to default category?
- Grouping parent categories into sections
- get_adjacent_post_link excluded_terms ignored
- Match two taxonomies to display a specific content
- Taxonomy for custom post type not found
- Category base 404 – fix
- Why is my post categories not displaying?
- Display only the latest post
- Problem importing categories and sub-categories
- Return selected categories only in custom page meta box?
- How to add all categories into an array and extract the categories names and use it with a custom meta box
- Assign a category by user and customize the edit-tags.php?taxonomy=category page
- list taxonomy based on taxonomy
- get IDs from links categories
- Multiple Parent Category URLs
- Category Template – to be editable from the backend?
- Chained drop-down menu for custom taxonomy using chained.js
- Show parent-child relationship for categories in the wordpress admin
- Display only one level subcategory in wordpress
- Converting Categories (with ACF fields) to custom taxonomies
- Woocommerce custom taxonomy order
- get_category_children/ the new get_term_children not work
- Hook action when create new category [duplicate]
- Taxonomy term RestApi data 10 rows limitions
- Order Categories by Character Count
- Images as Categories
- hide_empty property not working when using get_terms
- Add custom fields to Woocommerce Category Page
- Quick Edit on taxonomy names results in error
- How to make /category/ URL load properly instead of 404 error?
- How to get parent and child sub category (Taxonomy) order to display
- How can I get the categories and subcategories separately?
- When using get_terms with hide_empty = true, terms that only contain scheduled posts are not returned. How to override this?
- get_term returns different results, sometimes empty, sometime the correct list