95 reputation
7
bio website eggplantstudios.ca
location
age
visits member for 3 years, 3 months
seen yesterday

Mar
2
awarded  Benefactor
Feb
27
awarded  Student
Feb
27
awarded  Teacher
Feb
27
comment template_include for search.php makes Wordpress think its on the home page
Also, to add to your answer. We must also add $query->is_singular = false, and $query->set('page_id', false) in case it is called from a page.
Feb
26
answered Is there a way to override the <title> tag specified in header.php?
Feb
26
comment template_include for search.php makes Wordpress think its on the home page
Thanks I noticed that too while debugging it. Good catch.
Feb
26
accepted template_include for search.php makes Wordpress think its on the home page
Feb
25
comment template_include for search.php makes Wordpress think its on the home page
Thanks, looks legit. Appreciate all the extra tips, you know your stuff. Will test and accept when I'm home!
Feb
24
awarded  Promoter
Feb
21
awarded  Editor
Feb
21
comment template_include for search.php makes Wordpress think its on the home page
Updated to include the pre_get_posts action
Feb
21
revised template_include for search.php makes Wordpress think its on the home page
added 958 characters in body
Feb
21
asked template_include for search.php makes Wordpress think its on the home page
Apr
9
awarded  Supporter
Apr
9
comment Wordpress not respecting template hierarchy (fetches index.php instead of single.php or page.php)
I can't upvote this hard enough. What a mess i was in.
Aug
4
awarded  Scholar
Aug
4
accepted Contact Management Plugin suggestions, or tutorials/resources recommendations
Aug
3
revised Contact Management Plugin suggestions, or tutorials/resources recommendations
edited tags
Aug
3
asked Contact Management Plugin suggestions, or tutorials/resources recommendations