add_theme_support('post-thumbnails');
set_post_thumbnail_size(120, 100, true);
+
+$defaults = array(
+ 'default-color' => '',
+ 'default-image' => '',
+ 'default-repeat' => '',
+ 'default-position-x' => '',
+ 'default-attachment' => '',
+ 'wp-head-callback' => '_custom_background_cb',
+ 'admin-head-callback' => '',
+ 'admin-preview-callback' => ''
+);
+add_theme_support( 'custom-background', $defaults );
+add_theme_support( 'title-tag' );
+add_theme_support( 'custom-logo', array(
+ 'height' => 200,
+ 'width' => 400,
+ 'flex-height' => true,
+ 'flex-width' => true,
+ 'header-text' => array ( 'site-title', 'site-description'),
+) );
/**
* glm_site_scripts
*
<div id="page-wrapper">
<div class="shadow-wrapper">
<header class="main">
- <div class="row collapse">
- <div class="large-2 columns show-for-large-up">
- <img alt="map showing Emmet County" src="<?php echo esc_url( get_template_directory_uri() ) ;?>/assets/michigan-map.png">
- </div>
- <div class="small-12 text-center medium-text-left medium-6 columns">
- <a id="logo" href="<?php echo esc_url( home_url() );?>"><img alt="Airport Logo" src="<?php echo esc_url( get_template_directory_uri() );?>/assets/logo.png"></a>
- </div>
+ <div class="row collapse text-center">
+ <?php get_custom_logo($blog_id = 0 );?>
+ <?php the_custom_logo($blog_id = 0 );?>
+ <?php
+ if ( is_front_page() && is_home() ) : ?>
+ <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
+ <?php else : ?>
+ <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
+ <?php endif;
- <div class="large-4 columns show-for-large-up airlineInfo">
- <a class="facebook" href="https://www.facebook.com/pellstonairport/" target="_blank"></a>
- <h1 id="headerPhone">Delta Air Line </h1>
- <p class="headerNumber">(231) 539-8423 Local </p>
- <p class="headerNumber">(800) 221-1212 National </p>
-<!-- <h6 class="small-text-center medium-text-left" id="slogan">Closest Airport to Mackinac Island!</h6>-->
- </div>
- <div class="row">
- <div class="small-offset-3 small-7 columns sloganDiv show-for-large-up">
- <h6 class="small-text-center" id="slogan">Closest Airport to Mackinac Island!</h6>
- </div>
- </div>
+ $description = get_bloginfo( 'description', 'display' );
+ if ( $description || is_customize_preview() ) : ?>
+ <p class="site-description"><?php echo $description; ?></p>
+ <?php endif;
+ ?>
</div>
</header>
<?php get_template_part('parts/top-bar');?>
/*
-Theme Name: PellstonAirport
+Theme Name: GenericPellstonAirport
Author: Gaslight Media
Author URI: http://www.gaslightmedia.com
-Description: A theme for PellstonAirport
-Version: 1.0.7
+Description: A generic theme based on PellstonAirport
+Version: 1.0
*/