From 942c3fe8f56238a3e3cce89f89d7f4b47f38ffc4 Mon Sep 17 00:00:00 2001 From: Alex Wright Date: Mon, 11 Jun 2018 22:32:20 -0500 Subject: [PATCH] Organize sidebar files into loop-templates directory --- footer.php | 2 +- global-templates/hero.php | 6 +++--- global-templates/left-sidebar-check.php | 2 +- global-templates/right-sidebar-check.php | 2 +- .../sidebar-footerfull.php | 0 .../sidebar-hero.php | 0 .../sidebar-herocanvas.php | 0 .../sidebar-left.php | 2 +- .../sidebar-right.php | 2 +- .../sidebar-statichero.php | 0 page-templates/both-sidebarspage.php | 4 ++-- page-templates/left-sidebarpage.php | 2 +- page-templates/right-sidebarpage.php | 2 +- sidebar.php | 17 ----------------- 14 files changed, 12 insertions(+), 29 deletions(-) rename sidebar-footerfull.php => loop-templates/sidebar-footerfull.php (100%) rename sidebar-hero.php => loop-templates/sidebar-hero.php (100%) rename sidebar-herocanvas.php => loop-templates/sidebar-herocanvas.php (100%) rename sidebar-left.php => loop-templates/sidebar-left.php (94%) rename sidebar-right.php => loop-templates/sidebar-right.php (94%) rename sidebar-statichero.php => loop-templates/sidebar-statichero.php (100%) delete mode 100644 sidebar.php diff --git a/footer.php b/footer.php index 56a42da..6ab8c1b 100644 --- a/footer.php +++ b/footer.php @@ -11,7 +11,7 @@ $the_theme = wp_get_theme(); $container = get_theme_mod( 'understrap_container_type' ); ?> - + + diff --git a/sidebar-right.php b/loop-templates/sidebar-right.php similarity index 94% rename from sidebar-right.php rename to loop-templates/sidebar-right.php index 42cacfa..eca2a00 100644 --- a/sidebar-right.php +++ b/loop-templates/sidebar-right.php @@ -20,4 +20,4 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' ); - + diff --git a/sidebar-statichero.php b/loop-templates/sidebar-statichero.php similarity index 100% rename from sidebar-statichero.php rename to loop-templates/sidebar-statichero.php diff --git a/page-templates/both-sidebarspage.php b/page-templates/both-sidebarspage.php index 24c7ce7..e293e25 100644 --- a/page-templates/both-sidebarspage.php +++ b/page-templates/both-sidebarspage.php @@ -17,7 +17,7 @@ $container = get_theme_mod( 'understrap_container_type' );
- +
- +
- +
diff --git a/sidebar.php b/sidebar.php deleted file mode 100644 index 2560d75..0000000 --- a/sidebar.php +++ /dev/null @@ -1,17 +0,0 @@ - - -