<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?> 'primary', 'container' => '', 'items_wrap' => '' ); echo ''; } else { echo ''; } ?>

'; if ( !empty( $options[ 'home_slogan1' ] ) ) { $blogify_home_slogan .= esc_html( $options[ 'home_slogan1' ] ); } if ( !empty( $options[ 'home_slogan2' ] ) ) { $blogify_home_slogan .= ''.esc_html( $options[ 'home_slogan2' ] ).''; } $blogify_home_slogan .= '
'; if ( !empty( $options[ 'button_text' ] ) && !empty( $options[ 'redirect_button_link' ] ) ) { $blogify_home_slogan .= ''.esc_html( $options[ 'button_text' ] ).''; } $blogify_home_slogan .= '
'; } } echo $blogify_home_slogan; } endif; /****************************************************************************************/ if ( ! function_exists( 'blogify_socialnetworks' ) ) : /** * This function for social links display on header * * Get links through Theme Options */ function blogify_socialnetworks( $flag ) { global $blogify_theme_options_settings; $options = $blogify_theme_options_settings; $blogify_socialnetworks = ''; if ( ( !$blogify_socialnetworks = get_transient( 'blogify_socialnetworks' ) ) && ( 1 == $flag ) ) { $blogify_socialnetworks .='
'; set_transient( 'blogify_socialnetworks', $blogify_socialnetworks, 86940 ); } echo $blogify_socialnetworks; } endif; /****************************************************************************************/ if ( ! function_exists( 'blogify_featured_post_slider' ) ) : /** * display featured post slider * */ function blogify_featured_post_slider() { global $post; global $blogify_theme_options_settings; $options = $blogify_theme_options_settings; $blogify_featured_post_slider = ''; if (!empty( $options[ 'featured_post_slider' ] ) ) { $blogify_featured_post_slider .= ' '; } echo $blogify_featured_post_slider; } endif; /****************************************************************************************/ if ( ! function_exists( 'blogify_breadcrumb' ) ) : /** * Display breadcrumb on header. * * If the page is home or front page, slider is displayed. * In other pages, breadcrumb will display if breadcrumb NavXT plugin exists. */ function blogify_breadcrumb() { if( function_exists( 'bcn_display_list' ) ) { echo ' '; } } endif; /****************************************************************************************/ if ( ! function_exists( 'blogify_header_title' ) ) : /** * Show the title in header */ function blogify_header_title() { if( is_archive() ) { $blogify_header_title = single_cat_title( '', FALSE ); } elseif( is_search() ) { $blogify_header_title = __( 'Search Results', 'blogify' ); } elseif( is_page_template() ) { $blogify_header_title = get_the_title(); } else { $blogify_header_title = ''; } return $blogify_header_title; } endif; ?>