Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 30th Oct 2012, 06:31 AM   #1
Web Developer
 
Jdunhin's Avatar
 
Join Date: 2012
Location: South Africa, Pretoria
Posts: 106
Thanks: 16
Thanked 10 Times in 10 Posts
Tip
Hybrid 1.1 Wordpress Theme
Share on: 
fb share twitter share gplus share more share

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
Jdunhin is offline  
Closed Thread


Bookmarks

Tags
hybrid, theme, wordpress


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 12:38 PM.