header-style-one.php (3950B)
1 <?php 2 $header_top = welbim_get_options( 'enable_header_top' ); 3 $header_email = welbim_get_options( 'header_email' ); 4 $header_email_text = welbim_get_options( 'header_email_text' ); 5 $header_address = welbim_get_options( 'header_address' ); 6 $header_address_tag = welbim_get_options( 'header_address_tag' ); 7 $header_twitter_url = welbim_get_options( 'header_twitter_url' ); 8 $header_facebook_url = welbim_get_options( 'header_facebook_url' ); 9 $header_pinterest_url = welbim_get_options( 'header_pinterest_url' ); 10 $header_instagram_url = welbim_get_options( 'header_instagram_url' ); 11 $header_phone = welbim_get_options( 'header_phone' ); 12 $header_phone_tag = welbim_get_options( 'header_phone_tag' ); 13 $mobile_menu_social = welbim_get_options( 'mobile_menu_social' ); 14 $header_on_of_user = welbim_get_options( 'header_on_of_user' ); 15 $sticky_header_on = welbim_get_options( 'sticky_header_on' ); 16 ?> 17 18 <!-- main header --> 19 <header class="main-header header-style-one"> 20 21 <?php if ( isset( $header_top ) && $header_top == '1' ) { ?> 22 <!-- Header Top --> 23 <div class="header-top"> 24 <div class="auto-container"> 25 <div class="inner-container"> 26 <div class="left-column"> 27 <ul class="contact-info"> 28 <li><a href="<?php echo esc_attr( $header_email ); ?>"><i class="flaticon-email-1"></i><?php echo esc_html( $header_email ); ?></a></li> 29 <li><a href="<?php echo esc_html( $header_phone ); ?>"><i class="flaticon-telephone"></i><?php echo esc_html( $header_phone ); ?></a></li> 30 <li><i class="flaticon-pin"></i><?php echo esc_html( $header_address ); ?></li> 31 </ul> 32 </div> 33 <div class="right-column"> 34 <ul class="social-icon"> 35 <?php if ( $header_twitter_url ) { ?> 36 <li><a href="<?php echo esc_attr( $header_twitter_url ); ?>"><i class="fab fa-twitter"></i></a></li> 37 <?php } ?> 38 <?php if ( $header_facebook_url ) { ?> 39 <li><a href="<?php echo esc_attr( $header_facebook_url ); ?>"><i class="fab fa-facebook-square"></i></a></li> 40 <?php } ?> 41 <?php if ( $header_pinterest_url ) { ?> 42 <li><a href="<?php echo esc_attr( $header_pinterest_url ); ?>"><i class="fab fa-pinterest-p"></i></a></li> 43 <?php } ?> 44 <?php if ( $header_instagram_url ) { ?> 45 <li><a href="<?php echo esc_attr( $header_instagram_url ); ?>"><i class="fab fa-instagram"></i></a></li> 46 <?php } ?> 47 </ul> 48 </div> 49 </div> 50 </div> 51 </div> 52 <?php } ?> 53 54 55 56 <!-- Header Upper --> 57 <div class="header-upper"> 58 <div class="auto-container"> 59 <div class="inner-container"> 60 <!--Logo--> 61 <?php do_action( 'welbim_header_logo' ); ?> 62 <div class="right-column"> 63 <!--Nav Box--> 64 <div class="nav-outer"> 65 <!--Mobile Navigation Toggler--> 66 <div class="mobile-nav-toggler"><img src="<?php echo WELBIM_IMG_URL; ?>icons/icon-bar-2.png" alt="<?php esc_attr_e( 'mobile menu icon', 'welbim' ); ?>"></div> 67 <!-- Main Menu --> 68 <?php do_action( 'welbim_header_menu' ); ?> 69 </div> 70 </div> 71 </div> 72 </div> 73 </div> 74 <!--End Header Upper--> 75 76 <!--sticky Header--> 77 <?php 78 if ( $sticky_header_on ) { 79 ?> 80 <!-- Sticky Header --> 81 <div class="sticky-header"> 82 <div class="header-upper"> 83 <div class="auto-container"> 84 <div class="inner-container"> 85 <!--Logo--> 86 <?php do_action( 'welbim_header_sticky_logo' ); ?> 87 <div class="right-column"> 88 <!--Nav Box--> 89 <div class="nav-outer"> 90 <!--Mobile Navigation Toggler--> 91 <div class="mobile-nav-toggler"><img src="<?php echo WELBIM_IMG_URL; ?>icons/icon-bar-2.png" alt="<?php esc_attr_e( 'mobile menu icon', 'welbim' ); ?>"></div> 92 93 <!-- Main Menu --> 94 <nav class="main-menu navbar-expand-md navbar-light"> 95 </nav> 96 </div> 97 </div> 98 </div> 99 </div> 100 </div> 101 </div> 102 <!-- End Sticky Menu --> 103 <?php 104 } 105 ?> 106 107 </header> 108 <!-- main-header end -->