سلام
من با كمك واكر كاري كردم كه تكسونومي دلخواهم رو با wp_list_categories به گونه چكباكس نمايش بدم.
كد واكر تبديل كننده فهرست دستهبندي به چكباكس دسته بندي:
class Walker_Category_Checklist extends Walker {
public $tree_type = 'category';
public $db_fields = array ('parent' => 'parent', 'id' => 'term_id'); //TODO: decouple this
public function start_lvl( &$output, $depth = 0, $args = array() ) {
$indent = str_repeat("\t", $depth);
$output .= "$indent<ul class='children'>\n";
}
public function end_lvl( &$output, $depth