0

I’m trying to get BTF integrated with the Ajax Load More plugin and am having trouble on the filter results that are using two differen t taxonomies.

Basically I just need to know how to query/call both terms from both taxonomies.

Examples of results with two taxonomies: https://development-client-server.com/lily/grant/grants/1999/grant-type/discretionary-grants/

Examples of results with one taxonomy: https://development-client-server.com/lily/grants/1997/

The shortcode syntax for taxonomy parameters in Ajax Load more is:

taxonomy="grant-year:grant-type" taxonomy_terms="'.$year.':'.$type.'" taxonomy_operator="IN:IN"

So I need to be able to get each taxonomy and term from the filter results.

Thanks for any help!

-1

Finally figured it out!

global $wp_query; echo $wp_query->query_vars['grant-type']

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.