[wp-hackers] Pagination: How to display sidebar content on front page only?

Andrew Nacin wp at andrewnacin.com
Tue Jan 12 08:59:46 UTC 2010


On Tue, Jan 12, 2010 at 3:53 AM, Dion Hulse (dd32) <wordpress at dd32.id.au>wrote:
>
> Sounds like you want if ( is_front_page() && !is_paged() )
>

On Tue, Jan 12, 2010 at 3:53 AM, Andrew Nacin <wp at andrewnacin.com> wrote:

> Sounds like you'd want is_home() && ! is_paged().
>

is_front_page() && !is_paged() is closer to what you're looking for, as
is_home() may not be your home page depending on your front page
configuration...


More information about the wp-hackers mailing list