Check for is_front_page()
and if you want to catch the first page only inspect get_query_var( 'paged' )
too:
if ( is_front_page() and 2 > get_query_var( 'paged' ) )
{
// we are on the first page of the front page
}
Check for is_front_page()
and if you want to catch the first page only inspect get_query_var( 'paged' )
too:
if ( is_front_page() and 2 > get_query_var( 'paged' ) )
{
// we are on the first page of the front page
}