Your IP : 216.73.216.5


Current Path : /home/theafprt/conviviality360.com/wp-content/themes/dinky/
Upload File :
Current File : /home/theafprt/conviviality360.com/wp-content/themes/dinky/header.php

<?php
/**
 * The template for displaying the Header.
 *
 * @package Dinky
 * @since Dinky 1.0
 * @license GNU General Public License v3 or later
 * @copyright (C) 2013  Misam Saki, misam.ir
 * @author Misam Saki,  http://misam.ir/
 */

if ( !defined('ABSPATH')) exit;
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
	<head>
		<title><?php wp_title( '|', true, 'right' ); ?></title>
		<meta charset="<?php bloginfo( 'charset' ); ?>">
		<meta name="robots" content="INDEX,FOLLOW,noodp,noydir">
		<meta name="description" content="<?php bloginfo( 'description' ); ?>" />
		<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
		<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
		<?php if (dinky_get_theme_option('tag_author') != ''): ?><link rel="author" href="<?php echo dinky_get_theme_option('tag_author'); ?>" /><?php endif; ?>
		<?php if (dinky_get_theme_option('tag_shortlink') != ''): ?><link rel='shortlink' href='<?php echo dinky_get_theme_option('tag_shortlink'); ?>' /><?php endif; ?>
		<?php if (dinky_get_theme_option('tag_favicon') != ''): ?><link rel="shortcut icon" type="image/x-icon" href='<?php echo dinky_get_theme_option('tag_favicon'); ?>' /><?php endif; ?>
		<?php wp_head(); ?>
	</head>
	<body id="wrapper" lang="<?php bloginfo('language'); ?>" <?php body_class(); ?>>
		<header id="masthead"  role="banner">
			<nav id="mobile-navigation" class="container" role="navigation">
				<div id="mobile-title">
					<span class="mobile-title"><?php bloginfo( 'name' ); ?></span>
					<a class="mobile-select-menu"></a>
				</div>
				<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>
			</nav>
			<?php if ( ( is_home() & dinky_get_theme_option('cover_display_home') ) or ( !is_home() & dinky_get_theme_option('cover_display_other') ) ) : ?>
			<div id="cover">
				<?php if (get_header_image() != ''): ?><img alt="cover" class="cover" src="<?php echo get_header_image(); ?>" /><?php endif; ?>
				<div id="title">
					<h1 class="title"><?php bloginfo( 'name' ); ?></h1>
					<h2 class="subtitle"><?php bloginfo( 'description' ); ?></h2>
				</div>
			</div>
			<?php else: ?>
			<?php if ( is_home() ): ?>
			<div id="title" style="display: none;">
				<h1 class="title"><?php bloginfo( 'name' ); ?></h1>
				<h2 class="subtitle"><?php bloginfo( 'description' ); ?></h2>
			</div>
			<?php endif; ?>
			<?php endif; ?>
			<?php if ((is_home() & dinky_get_theme_option('intro_display_home')) or (!is_home() & dinky_get_theme_option('intro_display_other'))): ?>
			<div id="intro">
				<p class="container">
					<?php echo dinky_get_theme_option('intro_content'); ?>
				</p>
			</div>
			<?php endif; ?>
			<?php get_template_part( 'social' ); ?>
			<nav id="main-navigation" role="navigation"<?php if (dinky_get_theme_option('topmenu_logo') !=''): ?> class="have-logo"<?php endif; ?>>
				<div class="container">
					<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu menu-primary' ) ); ?>
					<?php wp_nav_menu( array( 'theme_location' => 'top', 'menu_class' => 'nav-menu menu-top hidden' ) ); ?>
					<?php if (dinky_get_theme_option('topmenu_logo') !=''): ?><img alt="topmenu-logo" class="logo" src="<?php echo dinky_get_theme_option('topmenu_logo'); ?>"><?php endif; ?>
				</div>
			</nav>
		</header>