is_search not set for ajax search?
-
Hi!
In my set-up I use several filters to influence thumbnails. For this I need to know what kind of loop type I am in. For this I look at global wp_query.
For concluding I am on a search I use is_search and check whether it is true.The wp_query content for results in the ajax search all have value false for is_search.
In fact none of the is_….. is set to true.
Am I missing something? Can I deduce being in this particular type of search in another way?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘is_search not set for ajax search?’ is closed to new replies.