diff --git a/smpl-skeleton/sidebar-footer.php b/smpl-skeleton/sidebar-footer.php index 94f8c4d..7fd38f5 100755 --- a/smpl-skeleton/sidebar-footer.php +++ b/smpl-skeleton/sidebar-footer.php @@ -8,7 +8,7 @@ */ // count the active widgets to determine column sizes -$footerwidgets = is_active_sidebar('first-footer-widget-area') + is_active_sidebar('second-footer-widget-area') + is_active_sidebar('third-footer-widget-area') + is_active_sidebar('fourth-footer-widget-area'); +$footerwidgets = is_active_sidebar('footer-widget-area-1') + is_active_sidebar('footer-widget-area-2') + is_active_sidebar('footer-widget-area-3') + is_active_sidebar('footer-widget-area-4'); // default $footergrid = "one_fourth"; // if only one @@ -29,27 +29,27 @@ - +
- +
- +
- +
- +
- +
- +
- +
diff --git a/smpl-skeleton/sidebar-page.php b/smpl-skeleton/sidebar-page.php index 6907d78..c0fe518 100755 --- a/smpl-skeleton/sidebar-page.php +++ b/smpl-skeleton/sidebar-page.php @@ -7,11 +7,11 @@ * @since skeleton 0.1 */ -if ( is_active_sidebar( 'secondary-widget-area' ) ) { +if ( is_active_sidebar( 'sidebar-2' ) ) { do_action('skeleton_before_sidebar'); - dynamic_sidebar( 'secondary-widget-area' ); + dynamic_sidebar( 'sidebar-2' ); do_action('skeleton_after_sidebar'); diff --git a/smpl-skeleton/sidebar.php b/smpl-skeleton/sidebar.php index bdb4aa6..d84cd50 100755 --- a/smpl-skeleton/sidebar.php +++ b/smpl-skeleton/sidebar.php @@ -12,9 +12,9 @@ return; } -if ( is_active_sidebar( 'primary-widget-area' ) ) { +if ( is_active_sidebar( 'sidebar-1' ) ) { do_action('skeleton_before_sidebar'); - dynamic_sidebar( 'primary-widget-area' ); + dynamic_sidebar( 'sidebar-1' ); do_action('skeleton_after_sidebar'); }