get_query_var returning an array after installing
-
This plugin solved the issue of including meta as part of my search but when I activate it,
get_query_varstarts returning an array instead of a string. That is causing the BBPress forum search to break and my search templates to load incorrectly ( in my search.php I check the post type and get a different template depending on the result, but since it’s an array, I’m loading the general template all the time instead of post_type specific templates ).You can check the BBPress problem here: https://xtalks.com/discussions/search/billion/
For my search template logic, I can easily just use $array[0] but it would still break bbpress. Any idea on how to fix this?
The page I need help with: [log in to see the link]
The topic ‘get_query_var returning an array after installing’ is closed to new replies.