53 lines
No EOL
2.5 KiB
PHP
Executable file
53 lines
No EOL
2.5 KiB
PHP
Executable file
<?php
|
|
$menu_floating = get_theme_mod( 'menu_floating' );
|
|
$menu_unstyled = get_theme_mod( 'menu_unstyled' );
|
|
$menu_custom_class = get_theme_mod( 'menu_custom_class', '' );
|
|
|
|
if( $menu_unstyled == "" ) {
|
|
$menu_class = 'nav navbar-nav';
|
|
$menu_container_class = 'nav-wrap navbar navbar-default toolset-menu-banner-inside';
|
|
} else {
|
|
$menu_class = '';
|
|
$menu_container_class = '';
|
|
}
|
|
|
|
$menu_container_class .= ' toolset-menu-container ' . $menu_custom_class;
|
|
|
|
?><!DOCTYPE html>
|
|
<!--[if lt IE 7 ]><html <?php language_attributes(); ?> class="no-js ie ie6 ie-lte7 ie-lte8 ie-lte9"><![endif]-->
|
|
<!--[if IE 7 ]><html <?php language_attributes(); ?> class="no-js ie ie7 ie-lte7 ie-lte8 ie-lte9"><![endif]-->
|
|
<!--[if IE 8 ]><html <?php language_attributes(); ?> class="no-js ie ie8 ie-lte8 ie-lte9"><![endif]-->
|
|
<!--[if IE 9 ]><html <?php language_attributes(); ?> class="no-js ie ie9 ie-lte9"><![endif]-->
|
|
<!--[if (gt IE 9)|!(IE)]><!--><html <?php language_attributes(); ?> class="no-js"><!--<![endif]-->
|
|
<head>
|
|
<meta charset="<?php bloginfo( 'charset' ); ?>" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
|
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
|
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
|
|
|
|
<?php
|
|
do_action( 'wpbootstrap_before_wp_head' );
|
|
wp_head();
|
|
do_action( 'wpbootstrap_after_wp_head' );
|
|
?>
|
|
<!--[if lt IE 9]>
|
|
<?php // Loads HTML5 JavaScript file to add support for HTML5 elements in older IEs: http://code.google.com/p/html5shiv/ ?>
|
|
<script src="<?php echo get_template_directory_uri() ?>/js/html5shiv.js" type="text/javascript"></script>
|
|
<?php // Loads selectivizr script to add support for some CSS3 selectors in older IEs. More info: http://selectivizr.com/ ?>
|
|
<script src="<?php echo get_template_directory_uri() ?>/js/selectivizr.min.js" type="text/javascript"></script>
|
|
<?php // Loads respons.js script to add baisc support for @media-queries for older IEs. More info: https://github.com/scottjehl/Respond ?>
|
|
<script src="<?php echo get_template_directory_uri() ?>/js/respond.min.js" type="text/javascript"></script>
|
|
<![endif]--><?php
|
|
switch( $menu_floating ) {
|
|
case 'float-left':
|
|
echo '<style type="text/css" media="screen">.ddl-nav-wrap,.navbar-toggle, body .ddl-navbar-toggle{float:left;}</style>';
|
|
break;
|
|
case 'float-none':
|
|
echo '<style type="text/css" media="screen">.ddl-nav-wrap{float:none;}.navbar-toggle, body .ddl-navbar-toggle{float:left;}</style>';
|
|
break;
|
|
}
|
|
?></head>
|
|
|
|
<body <?php body_class(); ?>>
|