Forum Replies Created

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

    (@arenak)

    I realized that QMT works with radio box:

    $out .=
    			html( 'li',
    				 get_taxonomy( $taxonomy )->label . ': '
    				.scbForms::input( array(
    					'type' => 'radio',
    					'name' => $taxonomy,
    					'values' => scbUtil::objects_to_assoc( $terms, 'slug', 'slug' ),
    					'selected' => qmt_get_query( $taxonomy ),
    				) )
    			);

    So it means it could display the taxonomies with either lists, dropdowns, or radios.
    Instead of those there, what I want to do is to display the taxonomies with checkbox, so the user could select items with value “football” OR(not and) “basketball” under the same taxonomy “ball”.

    Thread Starter ArenAK

    (@arenak)

    Thank you, scribu. I’m surely keeping an eye on this wonderful plugin.

    I noticed that you used $wp_query->get( $qv ) to get the user-required taxonomy values.
    So I think the code must set the $wp_query somewhere after the user selects values from the forms in the sidebar, but where is the code for that? I didn’t find it, could you tell me where is it?
    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)