[wp-testers] is_home problem
Ryan Boren
ryan at boren.nu
Thu Sep 28 19:46:24 GMT 2006
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
More information about the wp-testers
mailing list