🐞 fix: Update styles for proper background
Sync TODOs with Issues / sync_todos (push) Successful in 6s

This commit is contained in:
Keith Solomon
2026-08-18 16:37:55 -05:00
parent 81547254fc
commit d4df6d8678
12 changed files with 401 additions and 456 deletions
+7 -3
View File
@@ -65,16 +65,20 @@ add_filter(
/**
* Checks if the page should render a page header.
*
* Returns true only when the page heading ACF field is explicitly set to
* 'default'. When 'none' is selected, no page header should render (the
* page instead relies on its own hero block / template hero).
*
* @return bool true if page header should be rendered, false otherwise
*/
function hasPageHeader() {
global $post;
if ( get_field( 'hero_style' ) !== 'none' ) {
return false;
if ( get_field( 'hero_style' ) === 'default' ) {
return true;
}
return true;
return false;
}
/** Create the Owner role.