diff --git a/header.php b/header.php
index fc847c4..8310946 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,20 +24,30 @@
>
+
+
+
0 && strlen($secondarylink) > 0){
- if(substr($secondarylink,0,4) != 'http'){
- $secondarylink = 'http://'.$secondarylink;
- }
- echo '
'.$secondary.'
';
+ if(strlen($secondary) > 0 && strlen($secondarylink) > 0){
+ if(substr($secondarylink,0,4) != 'http'){
+ $secondarylink = 'http://'.$secondarylink;
}
- ?>
-
+ 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/submenu-check.php b/inc/submenu-check.php
index 63c40b3..e212c92 100644
--- a/inc/submenu-check.php
+++ b/inc/submenu-check.php
@@ -33,5 +33,5 @@
-
+
\ No newline at end of file