Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html <?php language_attributes(); ?>>
- <head>
- <!--[if IE]>
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- ``
- <![endif]-->
- <meta charset="<?php bloginfo('charset'); ?>" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <link rel="profile" href="http://gmpg.org/xfn/11" />
- <!-- Theme Css -->
- <?php
- $quality_pro_options=theme_data_setup();
- $current_options = wp_parse_args( get_option( 'quality_pro_options', array() ), $quality_pro_options ); ?>
- <?php if($current_options['upload_image_favicon']!=''){ ?>
- <link rel="shortcut icon" href="<?php echo esc_url($current_options['upload_image_favicon']); ?>" />
- <?php }
- wp_head(); ?>
- </head>
- <body <?php body_class(); ?>>
- <!--Header Logo & Menus-->
- <div class="container">
- <nav class="navbar navbar-default" role="navigation">
- <div class="container-fluid">
- <!-- Brand and toggle get grouped for better mobile display -->
- <div class="navbar-header">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <div class="logo pull-left" >
- <?php
- if($current_options['text_title'] ==true)
- { ?>
- <div class="qua_title_head">
- <h1 class="qua-logo" ><a href="<?php echo home_url( '/' ); ?>"><?php echo get_bloginfo( ); ?></a></h1>
- </div>
- <?php
- } else if($current_options['upload_image_logo']!='')
- { ?>
- <a href="<?php echo home_url( '/' ); ?>"><img src="<?php echo esc_url($current_options['upload_image_logo']); ?>" style="height:<?php if($current_options['height']!='') { echo $current_options['height']; } else { "80"; } ?>px; width:<?php if($current_options['width']!='') { echo $current_options['width']; } else { "200"; } ?>px;" /></a>
- <?php } else { ?>
- <a href="<?php echo home_url( '/' ); ?>"><img src="<?php echo QUALITY_TEMPLATE_DIR_URI; ?>/images/logo.png"></a>
- <?php } ?>
- </div>
- </div>
- <!-- Collect the nav links, forms, and other content for toggling -->
- <?php
- wp_nav_menu( array(
- 'menu' => 'primary',
- 'theme_location' => 'primary',
- 'depth' => 2,
- 'container' => 'div',
- 'container_class' => 'collapse navbar-collapse',
- 'container_id' => 'bs-example-navbar-collapse-1',
- 'menu_class' => 'nav navbar-nav',
- 'fallback_cb' => 'wp_bootstrap_navwalker::fallback',
- 'walker' => new wp_bootstrap_navwalker())
- );
- ?>
- <!-- /.navbar-collapse -->
- </div>
- <!-- /.container-fluid -->
- </nav>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement