Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- add_filter( 'sidebars_widgets', 'disable_all_widgets' );
- function disable_all_widgets( $sidebars_widgets ) {
- if ( is_home() )
- return ;
- else
- $sidebars_widgets = array( false );
- return $sidebars_widgets;
- }
- ?>
Add Comment
Please, Sign In to add comment