Created
September 1, 2016 20:54
-
-
Save SoyAlexandra/d0742273397c65cd3b4ccc726e641ff5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * The header for our theme. | |
| * | |
| * Displays all of the <head> section and everything up till <div id="content"> | |
| * | |
| * @package Amadeus | |
| */ | |
| ?><!DOCTYPE html> | |
| <html <?php language_attributes(); ?>> | |
| <html prefix="og: http://ogp.me/ns#"> | |
| <head> | |
| <meta charset="<?php bloginfo( 'charset' ); ?>"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="profile" href="http://gmpg.org/xfn/11"> | |
| <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> | |
| <meta property="og:url" content="http://capellaoe.com/blog/diseno-de-sonrisa/"> | |
| <meta property="og:type" content="service"> | |
| <meta property="og:title" content="¿Qué se debe saber del Diseño de Sonrisa?"> | |
| <meta property="og:description" content="El diseño de sonrisa es lograr que el tamaño, forma, posición y color de los dientes estén acordes al rostro de cada persona. Es un procedimiento que puede involucrar, de acuerdo a cada necesidad, cuatro actos operativos:..."> | |
| <meta property="og:image" content="http://capellaoe.com/blog/wp-content/uploads/2016/08/disenodesonrisacapella-150x150.jpg"> | |
| <?php wp_head(); ?> | |
| </head> | |
| <body <?php body_class(); ?>> | |
| <div id="page" class="hfeed site"> | |
| <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'amadeus' ); ?></a> | |
| <header id="masthead" class="site-header clearfix" role="banner"> | |
| <?php if ( has_nav_menu( 'social' ) ) : ?> | |
| <nav class="social-navigation clearfix"> | |
| <div class="container"> | |
| <?php wp_nav_menu( array( 'theme_location' => 'social', 'link_before' => '<span class="screen-reader-text">', 'link_after' => '</span>', 'menu_class' => 'menu clearfix', 'fallback_cb' => false ) ); ?> | |
| </div> | |
| </nav> | |
| <?php endif; ?> | |
| <?php if (get_theme_mod('menu_position', 'below') == 'above') : ?> | |
| <nav id="site-navigation" class="main-navigation menu-above" role="navigation"> | |
| <div class="container"> | |
| <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'primary-menu' ) ); ?> | |
| </div> | |
| </nav><!-- #site-navigation --> | |
| <nav class="mobile-nav"></nav> | |
| <?php endif; ?> | |
| <div class="branding-wrapper"> | |
| <div class="container"> | |
| <div class="site-branding"> | |
| <?php if ( get_theme_mod('site_logo') && get_theme_mod('logo_style', 'hide-title') == 'hide-title' ) : //Show only logo ?> | |
| <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr(get_bloginfo('name')); ?>"><img class="site-logo" src="<?php echo esc_url(get_theme_mod('site_logo')); ?>" alt="<?php echo esc_attr(get_bloginfo('name')); ?>" /></a> | |
| <?php elseif ( get_theme_mod('logo_style', 'hide-title') == 'show-title' ) : //Show logo, site-title, site-description ?> | |
| <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr(get_bloginfo('name')); ?>"><img class="site-logo show-title" src="<?php echo esc_url(get_theme_mod('site_logo')); ?>" alt="<?php echo esc_attr(get_bloginfo('name')); ?>" /></a> | |
| <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> | |
| <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2> | |
| <?php else : //Show only site title and description ?> | |
| <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> | |
| <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2> | |
| <?php endif; ?> | |
| </div><!-- .site-branding --> | |
| </div> | |
| </div> | |
| <?php if (get_theme_mod('menu_position', 'below') == 'below') : ?> | |
| <nav id="site-navigation" class="main-navigation" role="navigation"> | |
| <div class="container"> | |
| <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'primary-menu' ) ); ?> | |
| </div> | |
| </nav><!-- #site-navigation --> | |
| <nav class="mobile-nav"></nav> | |
| <?php endif; ?> | |
| </header><!-- #masthead --> | |
| <?php amadeus_banner(); ?> | |
| <div id="content" class="site-content container"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment