This repository has been archived by the owner. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
header changed to be chock full of includes, for easier child theming.
- Loading branch information
andrewmbacon
committed
Aug 25, 2014
1 parent
ec85d80
commit 75d1790
Showing
11 changed files
with
126 additions
and
6,287 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?php if ($headerImg != ''){ echo '<div id="header-image-wrap"><img src="' . get_header_image() . '" height="' . get_custom_header()->height . '" width="' . get_custom_header()->width . '" id="header-image" alt="Decorative header image of '. get_bloginfo('name') .'" /></div> ';}?> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<nav id="site-navigation" class="navbar navbar-default" role="navigation"> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#primary-nav"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="menu-icon"> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</span> | ||
<span class="menu-label">Menu</span> | ||
</button> | ||
<a class="navbar-brand visible-xs" href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a> | ||
</div> | ||
<a class="skip-link screen-reader-text sr-only" href="#content"> | ||
<?php _e( 'Skip to content', 'cs' ); ?></a> | ||
<div class="collapse navbar-collapse" id="primary-nav"> | ||
<?php | ||
wp_nav_menu( | ||
array( | ||
'menu' => 'primary', /* menu name */ | ||
'menu_class' => 'nav navbar-nav'.$nav1.' '.$nav2, | ||
'theme_location' => 'primary', /* where in the theme it's assigned */ | ||
'container' => false, /* container class */ | ||
'fallback_cb' => 'hale_main_nav_fallback', | ||
'items_wrap' => '<ul id="%1$s" class="%2$s"><li><a href="'.home_url().'">Home</a></li>%3$s</ul>', | ||
'walker' => new Bootstrap_Nav_Walker()/*, | ||
'with_search' => true*/ | ||
) | ||
); | ||
?> | ||
<div class="visible-xs-block"> | ||
<div class="navbar-form navbar-right"> | ||
<?php get_search_form(); ?> | ||
</div> | ||
</div> | ||
</div> | ||
</nav> | ||
<!-- #site-navigation --> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
if(strlen($secondary) > 0 && strlen($secondarylink) > 0){ | ||
if(substr($secondarylink,0,4) != 'http'){ | ||
$secondarylink = 'http://'.$secondarylink; | ||
} | ||
echo '<p id="uc-site-parent" class="'.$parentColor.'"><a href="'.$secondarylink.'">'.$secondary.'</a></p>'; | ||
} | ||
?> | ||
<h1 id="uc-site-title" class="<?php echo $headingColor; ?>"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
$secondary = get_option( 'parentSiteTitle',''); | ||
$secondarylink = get_option( 'parentSiteLink',''); | ||
$headerImg = get_header_image(); | ||
?> |
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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