From f74e49198d67e9ee8cbe575664530dcc98f19481 Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Wed, 22 Feb 2017 10:11:29 -0500 Subject: [PATCH] updating to meet the new standard I am updating bits and pieces of the theme to be up to date with how we are doing it now. It's expected since it was one of our first WordPress sites. --- functions.php | 8 ++- header.php | 20 +++--- lib/menu-walker.php | 119 ++++++++++++++++++++++++++++++ lib/navigation.php | 167 +++++++++++++++++++++++++++++++++++++++++++ parts/slide-show.php | 9 +++ style.css | 6 +- 6 files changed, 317 insertions(+), 12 deletions(-) create mode 100644 lib/menu-walker.php create mode 100644 lib/navigation.php create mode 100644 parts/slide-show.php diff --git a/functions.php b/functions.php index ab2f4e6..4a51681 100644 --- a/functions.php +++ b/functions.php @@ -1,5 +1,6 @@ 'sidebar-l', 'description' => __('Appears in Left Sidebar') )); + register_sidebar(array( + 'name' => __('Slideshow'), + 'id' => 'slideshow', + 'description' => __('Slideshow/Meta Slider') + )); register_sidebar(array( 'name' => __('Footer'), 'id' => 'sidebar-f', diff --git a/header.php b/header.php index 73716c4..8035179 100644 --- a/header.php +++ b/header.php @@ -4,8 +4,8 @@ <?php wp_title(); ?> - - + + @@ -20,23 +20,27 @@