diff --git a/footer.php b/footer.php
index 89dda13..dd2c600 100644
--- a/footer.php
+++ b/footer.php
@@ -7,7 +7,7 @@
* @package cornerstone
*/
?>
-
+
-
+
diff --git a/header.php b/header.php
index 8310946..fc847c4 100644
--- a/header.php
+++ b/header.php
@@ -6,10 +6,10 @@
*
*/
-$secondary = get_option( 'parentSiteTitle','');
-$secondarylink = get_option( 'parentSiteLink','');
-$headingColor = get_theme_mod( 'headingColor');
-$parentColor = get_theme_mod( 'parentColor');
+//$secondary = get_option( 'parentSiteTitle','');
+//$secondarylink = get_option( 'parentSiteLink','');
+//$headingColor = get_theme_mod( 'headingColor');
+//$parentColor = get_theme_mod( 'parentColor');
//$nav1 = get_theme_mod( 'navoption1','textnav');
//$nav2 = get_theme_mod( 'navoption2','with-drop');
@@ -24,30 +24,20 @@
>
-
-
-
0 && strlen($secondarylink) > 0){
- if(substr($secondarylink,0,4) != 'http'){
- $secondarylink = 'http://'.$secondarylink;
+ if(strlen($secondary) > 0 && strlen($secondarylink) > 0){
+ if(substr($secondarylink,0,4) != 'http'){
+ $secondarylink = 'http://'.$secondarylink;
+ }
+ echo '
'.$secondary.'
';
}
- echo '
'.$secondary.'
';
- }
- ?>
-
+ ?>
+
-
+ Toggle navigation
+
+
+
-
+
+
'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' => '
',
- 'walker' => new Bootstrap_Nav_Walker()/*,
- 'with_search' => true*/
- )
- );
- ?>
+ 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' => '
',
+ 'walker' => new Bootstrap_Nav_Walker()/*,
+ 'with_search' => true*/
+ )
+ );
+ ?>
-
+
-
+
\ No newline at end of file
diff --git a/inc/custom-header.php b/inc/custom-header.php
old mode 100755
new mode 100644
diff --git a/inc/extras.php b/inc/extras.php
old mode 100755
new mode 100644
diff --git a/inc/reg-sidebars.php b/inc/reg-sidebars.php
index 03cb911..c74c16f 100644
--- a/inc/reg-sidebars.php
+++ b/inc/reg-sidebars.php
@@ -148,7 +148,7 @@ function custom_searchform($form){
}
$search_counter++;
- $form = '