From: Laury GvR Date: Tue, 21 May 2019 23:46:06 +0000 (-0400) Subject: Custom header code added X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=fa906e71370e625dc282fa02e6c47cd6a7563fb1;p=WP-Themes%2Fupstatefair.git Custom header code added --- diff --git a/assets/images/header-tent-logo.png b/assets/images/header-tent-logo.png new file mode 100644 index 0000000..b251bab Binary files /dev/null and b/assets/images/header-tent-logo.png differ diff --git a/assets/images/visit-escanaba-logo.png b/assets/images/visit-escanaba-logo.png new file mode 100644 index 0000000..efbc747 Binary files /dev/null and b/assets/images/visit-escanaba-logo.png differ diff --git a/functions.php b/functions.php index 02b615d..81a73a6 100644 --- a/functions.php +++ b/functions.php @@ -743,7 +743,7 @@ function fusion_doing_ajax() { } /* Custom GLM Additions */ -function secondary_header_countdown() { +function glm_secondary_header_countdown() { echo '
'; echo do_shortcode( '[fusion_builder_container hundred_percent="no" hundred_percent_height="no" hundred_percent_height_scroll="no" hundred_percent_height_center_content="yes" @@ -764,8 +764,28 @@ function secondary_header_countdown() { echo '
'; } -add_filter( 'avada_before_header_wrapper', 'secondary_header_countdown' ); - - +add_filter( 'avada_before_header_wrapper', 'glm_secondary_header_countdown' ); + +function glm_header_elements() { + echo '
'; + echo '
'; + echo '
'; + echo 'Tickets'; + echo ''; + echo '
'; +} +add_filter( 'avada_header', 'glm_header_elements' ); /* Omit closing PHP tag to avoid "Headers already sent" issues. */