[Plugin: Query Multiple Taxonomies]Not working with checkbox
-
Hi,
I’m using this code for plugin QMT(Query Multiple Taxonomies) with checkbox, but it’s not working:
$out .= html( 'li', get_taxonomy( $taxonomy )->label . ': ' .scbForms::input( array( 'type' => 'checkbox', 'name' => $taxonomy, 'values' => scbUtil::objects_to_assoc( $terms, 'slug', 'slug' ), 'selected' => qmt_get_query( $taxonomy ), ) ) );
The code was this originally in query-multiple-taxonomies/widget.php:
$out .= html( 'li', get_taxonomy( $taxonomy )->label . ': ' .scbForms::input( array( 'type' => 'select', 'name' => $taxonomy, 'values' => scbUtil::objects_to_assoc( $terms, 'slug', 'slug' ), 'selected' => qmt_get_query( $taxonomy ), ) ) );
Can anybody tell me how to solve this problem?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘[Plugin: Query Multiple Taxonomies]Not working with checkbox’ is closed to new replies.