Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter saqwild

    (@saqwild)

    sorry , not collapse but expand all categories by default

    Simple: print c.openAll() after the category tree. You can do this for every type of tree by opening wp-dtree_gen-functions.php -> function wp_dtree_build_tree, change line 42:
    return $tree;

    to

    $tree .= "\n" . $t . ".openAll();";
    return $tree;
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: WP-dTree] collpase all Categories by default’ is closed to new replies.