From 3ad8d6db7bb292a3f31181f9170083f1656500da Mon Sep 17 00:00:00 2001 From: Monika Eftimova Date: Tue, 7 Oct 2014 14:52:34 +0300 Subject: [PATCH] updates (commited by vasil) --- css/styles.css | 4 ++++ functions.php | 4 +++- index.php | 16 +++++++++------- page-about.php | 17 ----------------- page-speakers.php | 6 +----- page-sponsors.php | 4 +++- page.php | 32 ++++++++++++++++++++++++-------- 7 files changed, 44 insertions(+), 39 deletions(-) delete mode 100644 page-about.php diff --git a/css/styles.css b/css/styles.css index 4da2704..aaf5215 100644 --- a/css/styles.css +++ b/css/styles.css @@ -473,10 +473,14 @@ footer .content li { list-style: none; } list-style: none; padding-left: 0; } +.subnav .menu { + margin-left: -2.2em; +} .subnav li { float: left; padding: 0; margin: 0 1em 0 0; + list-style: none outside; } .subnav li.selected { font-weight: bold; diff --git a/functions.php b/functions.php index 64937f7..3288e94 100644 --- a/functions.php +++ b/functions.php @@ -6,6 +6,7 @@ add_theme_support( 'post-thumbnails' ); register_nav_menus( array( 'main-menu' => __( 'Main Menu', 'initfest' ), + 'subnav-menu' => __( 'Sub Navigation', 'initfest'), 'footer-openfest' => __('OpenFest', 'initfest'), 'footer-openfest' => __('OpenFest', 'initfest'), 'footer-schedule' => __('Schedule', 'initfest'), @@ -99,7 +100,8 @@ function transport_shortcode() { if ( $transport->have_posts() ) : while ( $transport->have_posts() ) : $transport->the_post(); ?> -


+

+

-
- - - - - +
+
+ + + + + +
+
- diff --git a/page-about.php b/page-about.php deleted file mode 100644 index 90d0a19..0000000 --- a/page-about.php +++ /dev/null @@ -1,17 +0,0 @@ - -
-
-

- -
- -
- - diff --git a/page-speakers.php b/page-speakers.php index e01be94..457b79c 100644 --- a/page-speakers.php +++ b/page-speakers.php @@ -1,8 +1,4 @@
@@ -36,7 +32,7 @@ get_header(); ?> endif; ?> -
+
diff --git a/page-sponsors.php b/page-sponsors.php index db73537..6147f57 100644 --- a/page-sponsors.php +++ b/page-sponsors.php @@ -5,6 +5,8 @@ Template Name: Sponsors get_header(); ?>
+

+
the_title(); } - the_content(); + the_excerpt(); ?> -
- - - - - + 'subnav-menu', 'container_class' => 'content subnav cf' ) ); + echo '
'; +} +?> +
+
+

+ +
+
- +