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?
Thanks! Conrad -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Boren Sent: Thursday, September 28, 2006 2:46 PM To: [email protected] Subject: Re: [wp-testers] is_home problem Conrad - Conrad_Vanl wrote: > In my index.php file I have a call to <?php wp_sidebar() ?> [or > whatever the correct statement is]. Like I said before If I put > another is_ function in the if statement, for instance <?php ( > is_home() || is_archive() ) { ?> it works, but it doesn't only when I have is_home by itself. Are you running a post query of some sort in between the call to is_home() in the header and is_home() in the sidebar? Running query_posts(), for example, will interfere. Ryan _______________________________________________ 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
