[wp-testers] is_home problem

Conrad - Conrad_Vanl conrad_vanl at convandesign.com
Thu Sep 28 13:18:30 GMT 2006


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.

-----Original Message-----
From: wp-testers-bounces at lists.automattic.com
[mailto:wp-testers-bounces at lists.automattic.com] On Behalf Of Mark Jaquith
Sent: Thursday, September 28, 2006 1:48 AM
To: wp-testers at lists.automattic.com
Subject: Re: [wp-testers] is_home problem

On Sep 27, 2006, at 11:17 PM, Conrad - Conrad_Vanl wrote:

> I have another if statement in the header.php that refers to is_home 
> and it works like a charm. Why isn't this working in my sidebar?

Are you sure homepage loads are actually calling sidebar.php?
--
Mark Jaquith
http://txfx.net/


_______________________________________________
wp-testers mailing list
wp-testers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers



More information about the wp-testers mailing list