get_option( 'color-text' ); $barPrimary = $sunrise->get_option( 'color-primary-bar' ); $barSecondary = $sunrise->get_option( 'color-secondary-bar' ); $btnPrimary = $sunrise->get_option( 'color-primary-button' ); $btnSecondary = $sunrise->get_option( 'color-secondary-button' ); $btnText = $sunrise->get_option( 'color-text-button' ); $btnPrimaryHover = $sunrise->get_option( 'color-primary-button-hover' ); $btnSecondaryHover = $sunrise->get_option( 'color-secondary-button-hover' ); $btnTextHover = $sunrise->get_option( 'color-text-button-hover' ); $btnPrimaryActive = $sunrise->get_option( 'color-primary-button-active' ); $btnSecondaryActive = $sunrise->get_option( 'color-secondary-button-active' ); $btnTextActive = $sunrise->get_option( 'color-text-button-active' ); $check = $sunrise->get_option( 'checkmark-color' ); $fonts = $sunrise->get_option( 'font-stack' ); if( $fonts ) { $fonts = "font-family: " . $fonts . ";"; } ?> get_option( 'text-prompt' )); $additionalText = stripcslashes($sunrise->get_option('text-additional')); $showEmailBox = stripcslashes($sunrise->get_option( 'collect-emails' )); $buttonText = stripcslashes($sunrise->get_option( 'text-cta' )); $thanks = stripcslashes($sunrise->get_option( 'text-thanks' )); $buttonHref = $sunrise->get_option( 'button-href' ); $buttonTitle = $sunrise->get_option( 'button-title' ); $domain = get_option('siteurl'); $domain = str_replace('http://', '', $domain); $domain = str_replace('www.', '', $domain); $utmData = "?utm_source=" . $domain . "&utm_medium=attentionGrabber&utm_campaign=poweredBy"; $emailProvider = $sunrise->get_option('email-service-provider'); $usingCustomerIO = ($emailProvider == 'customerio' || $emailProvider == ""); $cIoSiteID = $sunrise->get_option( 'customer-io-site-id' ); $mailChimpApiKey = $sunrise->get_option( 'mailchimp-api-key' ); $newTab = $sunrise->get_option( 'new-tab' ); $buttonTarget = ""; if( $newTab ) { $buttonTarget = ' target="_blank"'; } if( $prompt || $additionalText || $buttonText ) { ?>