Yup, this fixed my problem. Can't believe I didn't think of that earlier.
Thanks!

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kaf Oseo
Sent: Thursday, September 28, 2006 11:12 PM
To: [email protected]
Subject: Re: [wp-testers] is_home problem

Conrad - Conrad_Vanl wrote:
> Yes I am running a query_posts! I am running a query_posts in the 
> index.php file b/c I want the index.php file to display only one 
> category. Oh so when running query_posts it makes wordpress think that 
> it's in archive page instead of the homepage? If so, is there a way I 
> can get around it, like restating that index.php is indeed the home page?

After query_posts:

        $wp_query->is_category = false;
        $wp_query->is_archive = false;
        $wp_query->is_home = true;

-Kaf
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to