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
'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 */
// Unregsiter Home Middle Widget
unregister_sidebar( 'home-middle' );
add_action( 'widgets_init', 'remove_some_widgets', 11 );
That also didn't work.
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.
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!