' . $checkout_title . ''; } else { $cart_title = '' . $cart_title . ''; } $cart_state = is_cart() ? 'active' : 'inactive'; $checkout_state = is_checkout() && ! is_order_received_page() ? 'active' : 'inactive'; $complete_state = is_order_received_page() ? 'active' : 'inactive'; $page_title = " "; } } } $sub_header_class = array( 'layout-' . VamtamTemplates::get_layout() ); $page_header_bg = VamtamTemplates::page_header_background(); // $has_header_bg should be true for non-transparent backgrounds $sub_header_bg_str = str_replace( 'background-color:transparent;background-image:none;', '', $page_header_bg . rd_vamtam_get_option( 'page-title-background', 'background-image' ) . rd_vamtam_get_option( 'page-title-background', 'background-color' ) ); if ( ! empty( $sub_header_bg_str ) ) { $sub_header_class[] = 'has-background'; } if ( ! VamtamTemplates::has_page_header() || is_404() ) return; if ( is_page_template( 'page-blank.php' ) ) return; $has_text_shadow = is_singular( VamtamFramework::$complex_layout ) && vamtam_sanitize_bool( get_post_meta( get_the_ID(), 'has-page-title-shadow', true ) ); if ( $has_text_shadow ) { $sub_header_class[] = 'has-text-shadow'; } ?>