feat(hero): gate inner-page hero on Services descendants

This commit is contained in:
Keith Solomon
2026-07-04 13:57:22 -05:00
parent a163b349e1
commit 59a1356d96
+1 -1
View File
@@ -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(),