From 437ceb75446dbe725725e227dd2a22926b9a5394 Mon Sep 17 00:00:00 2001 From: andrewmbacon Date: Wed, 20 Aug 2014 09:22:02 -0400 Subject: [PATCH] Formatting & Spacing --- header.php | 109 ++++++++++++++++++++++++------------------ inc/submenu-check.php | 2 +- 2 files changed, 63 insertions(+), 48 deletions(-) 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