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
}
/**
THIS FUNCTION OVERRIDES THE QUERY THAT WOULD NORMALLY BE RUN AND RETURNS OUR CUSTOM RESULTS (ALL POSTS OF SPECIFIC TYPES)
*/
FUNCTION KITCHENSINK_QUERY {
QUERY ARGUMENTS = {
POST TYPE = STORIES, ARTIFACTS, ... (anything else you want)
... OTHER ARGUMENTS TO SPECIFY ORDER ...
}
RUN QUERY
RETURN RESULTS
}
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.
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 }
/**
THIS FUNCTION OVERRIDES THE QUERY THAT WOULD NORMALLY BE RUN AND RETURNS OUR CUSTOM RESULTS (ALL POSTS OF SPECIFIC TYPES) */ FUNCTION KITCHENSINK_QUERY { QUERY ARGUMENTS = { POST TYPE = STORIES, ARTIFACTS, ... (anything else you want) ... OTHER ARGUMENTS TO SPECIFY ORDER ... }
RUN QUERY
RETURN RESULTS }
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.