• Resolved minple

    (@minple)


    When I choose category, childen category become category.
    I hoping fix it. When I choose category or children category, childen category is still children category

    Image when I don’t choose category: image

    Image when I choose category: image

Viewing 1 replies (of 1 total)
  • Thread Starter minple

    (@minple)

    I fixed it. However I don’t understand why WordPress re-ordering the category list after checked category.

    add this code into function.php
    function taxonomy_checklist_checked_ontop_filter ($args) {
    $args[‘checked_ontop’] = false;
    return $args;
    }
    add_filter(‘wp_terms_checklist_args’,’taxonomy_checklist_checked_ontop_filter’);

Viewing 1 replies (of 1 total)
  • The topic ‘Category in "/wp-admin/post.php?post=[number]&action=edit" has problem’ is closed to new replies.