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 @@ > + + + - -<?php wp_title( '|', true, 'right' ); ?> - +<?php wp_title( '|', true, 'right' ); ?> + + + > - + +
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.'

'; + } + ?> +

@@ -79,40 +87,47 @@ - +
\ 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