Closed StreetDog71 closed 6 months ago
Thanks for logging this. I'll see if I can replicate it and get back to you
I was able to replicate this using TwentyTwentyFour. There was an empty s
parameter that was causing the is_search()
to be triggered.
I will get a fix in place as soon as I can but in the meantime ( and if you're comfortable with it ) you can change https://github.com/ryanwelcher/advanced-query-loop/blob/trunk/includes/query-loop.php#L98 to
$wp_query = new \WP_Query( array_filter( $filtered_query_args ) );
Thanks for the quick reply and fix! Btw, great plugin!! ;)
Thanks and great to "see" you again!
I've came across this problem in a client website and was able to replicate it on a few test websites. Here are the steps:
Following the steps above, when I access any taxonomy term URL, the query results show as expected, but the page title reads Search results for ""
If I follow the exact same steps but use the default Query Loop block, the title will show the taxonomy term name.
Using the Query Monitor plugin, I can see that the following is being used in each scenario:
With AQL: is_archive(), is_tax(), is_search()
With the default Query Loop block: is_archive(), is_tax()
Can you please check if you can reproduced this problem or if I'm doing something wrong?