• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Split sidebars

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Split sidebars

This topic is: resolved

Tagged: split sidebars

  • This topic has 3 replies, 3 voices, and was last updated 13 years, 10 months ago by notfarnow.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • December 9, 2012 at 5:12 am #3958
    alliechynna
    Member

    Please can someone tell me why my split sidebars are not showing.

    http://21ststreetdesigns.com

    Here is my PHP

     

     

    <?php
    /** Start the engine */
    require_once( get_template_directory() . '/lib/init.php' );

    /** Child theme (do not remove) */
    define( 'CHILD_THEME_NAME', 'Sample Child Theme' );
    define( 'CHILD_THEME_URL', 'http://www.studiopress.com/themes/genesis' );

    /** Add Viewport meta tag for mobile browsers */
    add_action( 'genesis_meta', 'add_viewport_meta_tag' );
    function add_viewport_meta_tag() {
    echo '<meta name="viewport" content="width=device-width, initial-scale=1.0"/>';
    }

    /** Add support for custom background */
    add_custom_background();

    /** Add support for custom header */
    add_theme_support( 'genesis-custom-header', array( 'width' => 960, 'height' => 100 ) );

    /** Add support for 3-column footer widgets */
    add_theme_support( 'genesis-footer-widgets', 3 );

    /** Add home top widget area */
    add_action( 'genesis_before_loop', 'blissful_home_top' );
    function blissful_home_top() {
    dynamic_sidebar( 'home-top' );
    }

     

    add_action( 'genesis_after_sidebar_widget_area', 'blissful_split_sidebars' );
    /**
    * Add split sidebars underneath the primary sidebar
    */
    function blissful_split_sidebars() {
    foreach ( array( 'sidebar-split-left', 'sidebar-split-right', 'sidebar-split-bottom' ) as $area ) {
    echo '<div class="' . $area . '">';
    dynamic_sidebar( $area );
    echo '</div><!-- end #' . $area . '-->';
    }
    }
    /** Register widget areas */
    genesis_register_sidebar( array(
    'id' => 'home-top',
    'name' => __( 'Home Top', 'blissful' ),
    'description' => __( 'This is the top section of the homepage', 'blissful' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'sidebar-split-left',
    'name' => __( 'Sidebar Split Left', 'blissful' ),
    'description' => __( 'This is the left side of the split sidebar', 'blissful' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'sidebar-split-right',
    'name' => __( 'Sidebar Split Right', 'blissful' ),
    'description' => __( 'This is the right side of the split sidebar', 'blissful' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'sidebar-split-bottom',
    'name' => __( 'Sidebar Split Bottom', 'blissful' ),
    'description' => __( 'This is the bottom of the split sidebar', 'blissful' ),
    ) );

    December 9, 2012 at 6:17 am #3979
    AnitaC
    Keymaster

    Did you edit your Style.css file to accommodate the split sidebars?


    Need help with customization or troubleshooting? Reach out to me.

    December 9, 2012 at 4:13 pm #4043
    alliechynna
    Member

    Thanks had miss a bit of css

    December 14, 2012 at 6:46 pm #5310
    notfarnow
    Participant

    Can you post what you were missing please so we can learn? Thanks!

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Split sidebars’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble