Removing Home Middle Widget in Crystal Theme

Community Forums Forums Design Tips and Tricks Removing Home Middle Widget in Crystal Theme

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  AC 2 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #15361


    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


    ‘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?




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



    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?




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

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.