106 reputation
2
bio website
location
age
visits member for 1 year, 4 months
seen Jan 18 at 11:07

Nov
22
comment WP_Query returns no results
Same result :( Seems like there's something else going on. I'm going to try query_posts to see if that makes any difference.
Nov
22
comment WP_Query returns no results
Thanks for responding. I tried adding suppress_filters=true but it didn't work. It actually came through empty in the print_r i.e. [query] => Array ( [s] => the [posts_per_page] => 5 [paged] => 1 [post_type] => any [suppress_filters] => )
Nov
22
comment WP_Query returns no results
Apparently where 1 = 2 will retrieve the schema of a table. stackoverflow.com/questions/8149142/…
Nov
22
comment WP_Query returns no results
Lol, yeah where 1=2 isn't gonna have any results! I'm working within the pagelines framework. I'm creating a custom section (pagelines.com/docs/custom-sections). I've added the section to my search template and this is the result. Looks like there's some kind of conflict with the framework in that case.
Nov
22
awarded  Student
Nov
22
comment WP_Query returns no results
Thanks for the answer but no difference :(
Nov
22
comment WP_Query returns no results
Just tried that but same result I'm afraid.
Nov
22
comment WP_Query returns no results
Tried just s=the but no cigar. I've added the result of the print_r to the post (tried to format it as best I could!)
Nov
22
awarded  Editor
Nov
22
revised WP_Query returns no results
added 2434 characters in body
Nov
22
asked WP_Query returns no results