Title: smdever's Replies | WordPress.org

---

# smdever

  [  ](https://wordpress.org/support/users/smdever/)

 *   [Profile](https://wordpress.org/support/users/smdever/)
 *   [Topics Started](https://wordpress.org/support/users/smdever/topics/)
 *   [Replies Created](https://wordpress.org/support/users/smdever/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/smdever/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/smdever/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/smdever/engagements/)
 *   [Favorites](https://wordpress.org/support/users/smdever/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Query Multiple Taxonomies] [Plugin: Query Multiple Taxonomies] Dropdown Selected Option](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-dropdown-selected-option/)
 *  [smdever](https://wordpress.org/support/users/smdever/)
 * (@smdever)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-dropdown-selected-option/#post-1600820)
 * Just to build on this question, how do I populate the first dropdown option with
   the first taxonomy tag?
 * As a concrete example, I have a dropdown for “City” taxonomy with 2 cities in
   it, Bangkok and Chiang Mai. I’d like Bangkok to appear as the default selected
   option.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic] [Plugin: Widget Logic] custom post types and/or custom taxonomies](https://wordpress.org/support/topic/plugin-widget-logic-custom-post-types-andor-custom-taxonomies/)
 *  Thread Starter [smdever](https://wordpress.org/support/users/smdever/)
 * (@smdever)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-widget-logic-custom-post-types-andor-custom-taxonomies/#post-1608501)
 * Hmm, none of these are working for me. I’ll keep digging to find out if it’s 
   just a problem at my end or what…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic] [Plugin: Widget Logic] custom post types and/or custom taxonomies](https://wordpress.org/support/topic/plugin-widget-logic-custom-post-types-andor-custom-taxonomies/)
 *  Thread Starter [smdever](https://wordpress.org/support/users/smdever/)
 * (@smdever)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-widget-logic-custom-post-types-andor-custom-taxonomies/#post-1608498)
 * Hi there, sorry to revisit this, but this string
 * is_single()&&(get_post_type()==’pv_listing’)
 * was working fine for me until just recently when I realized that the appropriate
   widgets were no longer displaying on singular posts of that post type. Have not
   downloaded any weird plugins since, and Widget Logic is working as usual otherwise.
   Any ideas why this might be? I realize this may not be related to the plugin 
   at all, but not sure where else to ask this question
 * 🙂 thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Query Multiple Taxonomies] [Plugin: Query Multiple Taxonomies] is_multitax() in Widget Logic](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-is_multitax-in-widget-logic/)
 *  Thread Starter [smdever](https://wordpress.org/support/users/smdever/)
 * (@smdever)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-is_multitax-in-widget-logic/#post-1616269)
 * duh, I now realize that the example I used was the one you intended, but I took
   you literally and wrote out “taxonomy_” before the taxonomy name. I am clearly
   new to this!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Query Multiple Taxonomies] [Plugin: Query Multiple Taxonomies] is_multitax() in Widget Logic](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-is_multitax-in-widget-logic/)
 *  Thread Starter [smdever](https://wordpress.org/support/users/smdever/)
 * (@smdever)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-is_multitax-in-widget-logic/#post-1616268)
 * Hi, thanks again for your quick response!
 * I downloaded the development version you linked to above – for some reason, the
   example you gave me above didn’t work, but this modification did:
 * `is_multitax( array( 'a', 'b') )`
 * so I am very happy. Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Query Multiple Taxonomies] [Plugin: Query Multiple Taxonomies] customize reset](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-customize-reset/)
 *  Thread Starter [smdever](https://wordpress.org/support/users/smdever/)
 * (@smdever)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-customize-reset/#post-1607670)
 * Yay! Works perfectly.
 * Now I just have to get my Widget Logic to play nicely with the QMT function and
   display the widgets on the search result pages… it doesn’t want to, even when
   I specify is_tax(A) or is_tax(A)&&is_tax(B)…. but THAT is a topic for another
   forum.
 * Thanks again for all your help!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Query Multiple Taxonomies] [Plugin: Query Multiple Taxonomies] customize reset](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-customize-reset/)
 *  Thread Starter [smdever](https://wordpress.org/support/users/smdever/)
 * (@smdever)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-customize-reset/#post-1607662)
 * Well, that fixes the the problem with searching, but now “reset” sends me back
   to my home page again.
 * Did I do replace the correct string of code? The full line of text I used was:
 * `add_filter( 'qmt_reset_url', 'my_qmt_base_url' );`
 * Look, you’ve been so helpful, but if answering these questions isn’t giving you
   useful feedback as you develop the plugin, please don’t worry about it. I know
   the plugin’s still in development, and I can do my best to be patient until its
   ready 🙂 Just asking in case it’s an easy one for you to answer and/or gives 
   you useful feedback.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Logic] [Plugin: Widget Logic] custom post types and/or custom taxonomies](https://wordpress.org/support/topic/plugin-widget-logic-custom-post-types-andor-custom-taxonomies/)
 *  Thread Starter [smdever](https://wordpress.org/support/users/smdever/)
 * (@smdever)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-widget-logic-custom-post-types-andor-custom-taxonomies/#post-1608322)
 * Thanks so much for your help. I’ve ended up using your suggestion to get the 
   single posts, and then am using is_tax for the archive pages. It may be inelegant,
   but at least it works for this particular case:
 * is_tax(‘store’)||is_single()&&(get_post_type()==’listing’)
 * You’re right, archive for custom post type is totally stupid, since it’s a taxonomy
   and taxonomies can be for different post types. I’m very new to this, as you 
   can tell.
 * Thanks again!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Query Multiple Taxonomies] [Plugin: Query Multiple Taxonomies] customize reset](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-customize-reset/)
 *  Thread Starter [smdever](https://wordpress.org/support/users/smdever/)
 * (@smdever)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-customize-reset/#post-1607637)
 * Hmm. Both snippets worked fine in terms of resetting the page to where I wanted
   it to go.
 * However, when I try to submit the query, I get the 404 Not Found error message.
 * When I remove the snippet, the query function works fine again.
 * Any ideas? Sorry to be such a pest about this, and thanks so much for all the
   help you’ve already given.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Query Multiple Taxonomies] [Plugin: Query Multiple Taxonomies] customize reset](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-customize-reset/)
 *  Thread Starter [smdever](https://wordpress.org/support/users/smdever/)
 * (@smdever)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-query-multiple-taxonomies-customize-reset/#post-1607622)
 * Thank you so much for the speedy response, worked like a charm.
 * I hope I’m not being too greedy, but… here’s one more…
 * Actually, I run two different searches using your widget on two different pages“
   Events” and “Directory”.
 * Is there any way in this version to customize the reset per widget, or per custom
   post type? So when I run a search on the Events page (which searches custom post
   type = Events), it resets to the Event page? And when I run a search on “Directory”(
   searching custom post type = Listing), it resets to the Directory page?

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