This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Compatibility with Divi Filter Grid

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Compatibility with Divi Filter Grid Reply To: Compatibility with Divi Filter Grid

#50197
Ernest MarcinkoErnest Marcinko
Keymaster

Hi!

The new instance of the $wp_query explains the issue, as it’s not longer the main query, and the override method does not trigger.

Before jumping into coding, you should try this option first. This will bypass some query checks and more likely triggers the override, often time this is all it takes.

As for the integration, there an attribute to set on the $wp_query object – but it happens to have a bug with the current release (what a coincidence), still it’s possible to make it work.

Integration for plugin devs to trigger the override

Normally, if the following query variable is set, the plugin will trigger an override, this is all they need to set in the filter grid plugin in $wp_query to integrate:
$wp_query->set( 'asp_override', true );
When this query variable is set, the plugin will trigger the override. Please let them know 🙂

I’m also attaching a patched beta release to this reply, that has the query variable fix included.