Make WordPress Themes

source: multisport/1.0.0/header.php

Last change on this file was 72482, checked in by themedropbox, 9 years ago

New theme: MultiSport - 1.0.0

File size: 1.3 KB
Line 
1<?php
2/**
3 * The template for displaying the header
4 *
5 * Displays all of the head element and everything up until the "body-content-wrapper" div.
6 *
7 * @subpackage MultiSport
8 * @author customizablethemes
9 * @since MultiSport 1.0.0
10 *
11 */
12?><!DOCTYPE html>
13<html <?php language_attributes(); ?>>
14        <head>
15                <meta charset="<?php bloginfo('charset'); ?>" />
16                <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
17                <meta name="viewport" content="width=device-width" />
18                <?php wp_head(); ?>
19        </head>
20        <body <?php body_class(); ?>>
21                <div id="body-content-wrapper">
22                       
23                        <header id="header-main-fixed">
24
25                                <div id="header-content-wrapper">
26
27                                        <div id="header-logo">
28                                                <?php multisport_show_website_logo_image_and_title(); ?>
29                                        </div><!-- #header-logo -->
30
31                                        <nav id="navmain">
32                                                <?php wp_nav_menu( array( 'theme_location' => 'primary',
33                                                                                                  'fallback_cb'    => 'wp_page_menu',
34                                                                                                 
35                                                                                                  ) ); ?>
36                                        </nav><!-- #navmain -->
37                                       
38                                        <div class="clear">
39                                        </div><!-- .clear -->
40
41                                </div><!-- #header-content-wrapper -->
42
43                        </header><!-- #header-main-fixed -->
44                        <?php if ( is_front_page() && get_theme_mod('multisport_slider_display', 0) == 1 ) : ?>
45                                               
46                                                <?php multisport_display_slider(); ?>
47
48                        <?php endif; ?>
Note: See TracBrowser for help on using the repository browser.