Ah, okay.
Well then you want the “if(is_home())” option.
You’ll also want to create a secondary sidebar.
So, in your functions.php file, you’ll have:
if ( function_exists('register_sidebar') ) {
register_sidebar(array(
'name'=>'Index Page Sidebar',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h3>',
'after_title' => '</h3>',
));
register_sidebar(array('name'=>'Regular Sidebar',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h3>',
'after_title' => '</h3>',
));
}
then, in your sidebar.php file (or wherever your sidebar widgets stuff is):
if(is_home()) {
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Index Page Sidebar') ) :?>
stuff if you don't use widgets here
<?php endif; } //end index page only stuff
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Regular Sidebar') ) : ?>
stuff if you don't use widgets here
<?php endif; ?>
Then in your widgets area, you’ll have two sidebars to choose from in the dropdown. The “regular” sidebar, you can put the stuff you want to show up everywhere, and the “Index” page one you add the widgets you want only for the index page.