feat(hero): gate inner-page hero on Services descendants
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ $headerLogo = getFieldValue( 'header.header_logo.url' ) ? getFieldValue( 'header
|
||||
$showHero = in_array(
|
||||
true,
|
||||
array(
|
||||
get_field( 'hero_style' ) === 'default',
|
||||
isServicesDescendant() && get_field( 'hero_style' ) === 'default',
|
||||
is_home(),
|
||||
is_archive(),
|
||||
is_single(),
|
||||
|
||||
Reference in New Issue
Block a user