Plugin Author
scribu
(@scribu)
You can use the_widget(), like so:
the_widget('Taxonomy_Drill_Down_Widget', array(
'title' => '',
'mode' => 'dropdowns',
'taxonomies' => array( 'post_tag', 'color' ) // list of taxonomy names
));
‘mode’ can be one of ‘lists’ or ‘dropdowns’
thanks.
Sorry but as i’m a complete sucker in coding, i get the code as “text”. where and how do i have to insert it (yes, i’m sorry..)
here is the code in the search.php
———
<?php if (have_posts()) : ?>
<div class=”search-results”>
<h2><?php _e(‘Resultats’, ‘arras’) ?></h2>
<div class=”search-results-content clearfix”>
<p><?php printf( __(‘Resultats pour ‘’ . ‘%s’ . ‘’</p>’, ‘arras’), wp_specialchars($s, 1) ) ?>
<?php get_search_form(); ?>
the_widget(‘Taxonomy_Drill_Down_Widget’, array(
‘title’ => ”,
‘mode’ => ‘dropdowns’,
‘taxonomies’ => array( ‘post_tag’, ‘color’ ) // list of taxonomy names
));
</div>
</div>
————–
the other problem is that it seems that the page resultat for QMT is NOT the search.php page. how can i insert the code in THIS page ?
oups , sorry, i put <?php …
and it’s ok.
but i still wonder where is the page for the QMT results ?
Plugin Author
scribu
(@scribu)
You have to edit taxonomy.php (or create it if it’s not there).
thank you.
i just duplicate the search.php of my theme folder and change the name into taxonomy.
it seems to work so fa (no ?)
the only problem is that i don’t know how to change search result for xxxxxxxx and include the terms of query.
Sorry, again.