thank you very much for reply DAedalon
The check list come from template.php file.
code is:
function start_el( &$output, $category, $depth, $args, $id = 0 ) {
extract($args);
if ( empty($taxonomy) )
$taxonomy = ‘category’;
if ( $taxonomy == ‘category’ )
$name = ‘post_category’;
else
$name = ‘tax_input[‘.$taxonomy.’]’;
$class = in_array( $category->term_id, $popular_cats ) ? ‘ class=”popular-category”‘ : ”;
if($category->tax_order != ‘0’){
//echo $category->tax_order;
$checka= “in-“.$taxonomy.”-” .$category->term_id.”
“;
$output .= “\n<li id='{$taxonomy}-{$category->term_id}’$class>” . ‘<label class=”selectit”><input value=”‘ . $category->term_id . ‘” type=”checkbox” name=”‘.$name.'[]” id=”in-‘.$taxonomy.’-‘ . $category->term_id . ‘”‘ . checked( in_array( $category->term_id, $selected_cats ), true, false ) . disabled( empty( $args[‘disabled’] ), false, false ) . ‘ /> ‘ . esc_html( apply_filters(‘the_category’, $category->name )) . ‘</label>’;
}
}
I want these field is mandatory.
Please tell me how????
help me please.
regards,
uday