| | #1 |
| Web Developer Join Date: 2012 Location: South Africa, Pretoria
Posts: 106
Thanks: 16
Thanked 10 Times in 10 Posts
|
Want to remove the primary widget area on your frontpage. This code works for me. This is for Theme Hybrid. add_filter( 'sidebars_widgets', 'disable_primary_widgets' ); function disable_primary_widgets( $sidebars_widgets ) { if ( is_front_page() ) $sidebars_widgets['primary'] = false; return $sidebars_widgets; } |
|
We handle all your WordPress Content,Theme and Plugins updates! iAdminWP | |
| |
|
| Bookmarks |
| Tags |
| hybrid, theme, wordpress |
| |