'.__("Boolean relationship between the taxonomy queries", "AWQSFTXT").'
'; foreach($items as $item) { $bool = get_post_meta($post_id, 'awqsf-relbool', true); $checked = !empty($bool[0]['tax']) && ($bool[0]['tax']==$item) ? 'checked="checked"' : ''; echo ''; } echo ''; ?>
" />
'; $taxo = get_post_meta($post_id, 'awqsf-taxo', true); if(!empty($taxo)){ $c =0; $args=array('public' => true, '_builtin' => false); $output = 'names'; // or objects $operator = 'and'; // 'and' or 'or' $taxonomies=get_taxonomies($args,$output,$operator); foreach($taxo as $k => $v){ $html .= ''; $html .= ''; //for label $html .= ''; //search all text $html .= ''; //hide empty $html .= ''; //exlude id $html .= ''; //dispay type $html .= ''; //action $html .= ''; $html .= ''; $c++; } } echo $html; ?>
'; //for display taxonomy $html .= '
'; $html .= ''; $html .= '
'; $html .= ''; $html .= '
'; $check1=""; $check0=""; if($v['hide'] == 1){$check1 = 'checked="checked"'; }; if($v['hide'] == 0){$check0 = 'checked="checked"'; }; $html .= ''; $html .= ''; $html .= '
'; $checkbox = $radio = $dropdown = ''; if($v['type']== "checkbox"){ $checkbox = 'checked="checked"';} if($v['type']== "dropdown"){ $dropdown = 'checked="checked"';} if($v['type']== "radio"){ $radio = 'checked="checked"';} $html .= ''; $html .= ''; $html .= ''; $html .= '
'.__("Remove","AWQSFTXT").'