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.
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?
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.