• 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

Removing Home Middle Widget in Crystal Theme

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 › Removing Home Middle Widget in Crystal Theme

This topic is: not resolved

Tagged: crystal theme, Removing Widget

  • This topic has 3 replies, 2 voices, and was last updated 9 years, 3 months ago by Anita.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • January 27, 2013 at 12:57 pm #15361
    Carolyn
    Member

    Hi, I'd like to remove the Home Middle Widget in the Crystal Theme. I've tried deleting the code where it is registered, but that didn't work.

    Perhaps wrong code? I deleted

    genesis_register_sidebar(array(

    'name'=>'Home Middle',

    'id' => 'home-middle',

    'description' => 'This is the first column of the middle section of the homepage.'

    ));

     

    After putting it back I added this code -

    /** Remove Home Middle Widget */
    function remove_some_widgets(){

    // Unregsiter Home Middle Widget
    unregister_sidebar( 'home-middle' );
    }
    add_action( 'widgets_init', 'remove_some_widgets', 11 );

    That also didn't work.

    Any suggestions?

    Thanks.

    January 27, 2013 at 12:58 pm #15362
    Anita
    Keymaster

    Look in the Home.php file for that widget area and remove it from there.


    Love coffee, chocolate and my Bella!

    January 27, 2013 at 1:05 pm #15364
    Carolyn
    Member

    THANK YOU! I have been toying around for over an hour in the functions file!
    As a newbie, why did I have to comment out in home.php for it to work and not in functions.php?

     

    January 27, 2013 at 1:27 pm #15370
    Anita
    Keymaster

    Functions is just telling it what to do.... home is providing the place for that action to be located.


    Love coffee, chocolate and my Bella!

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2022 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