tunxisnewmedia / CSSO

Digital Narrative project
3 stars 0 forks source link

All/All/All search #32

Closed hagopiane closed 12 years ago

hagopiane commented 12 years ago

After looking through the widgets over the weeknd, Jim Revillini said:

Yes, all/all/all in the tax's but not entering a search term too? If so, I think you're going to need a custom plugin or function in functions.php which runs a special query. The pseudocode for it would be like

IF ( ( A FORM WAS SUBMITTED ) AND ( ORGANIZATIONS=ALL ) AND ( PEOPLE=ALL ) AND ( EVENTS=ALL ) ) { INTERCEPT QUERY (add a hook to the post query) AND RUN KITCHENSINK_QUERY FUNCTION }

/**

I'm not sure the exact mechanics to make this show up in the template you want. I'd have to do some thinking and research. But let me know if this seems like the right direction or if I’m missing the point.

hagopiane commented 12 years ago

Change the taxonomy "All" option to "Select One" in the taxonomy picker.