Thanks alchymyth, the name is correct, sidebar-inicio.php, but don’t work…
This are the archives that i changed…
sidebar-inicio.php
<div id=”inicio”>
<div class=”widgets”><?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘Inicio Sidebar’) ) : ?><?php endif; ?>
</div>
</div>
index.php
…
<?php if ( is_home() ) { ?>
<?php if(of_get_option(‘blocks_checkbox’) == “1”){ ?>
<div class=”midrow”>
<?php get_sidebar(‘inicio’); ?>
<div class=”midrow_wrap”>
…
options.php
…
$options[] = array( “name” => __(‘Right Sidebar’, ‘theron’),
“desc” => “Remove Right sidebar from all the pages and make the site full width.”,
“id” => “nosidebar_checkbox”,
“std” => “0”,
“type” => “checkbox”);
$options[] = array( “name” => __(‘Inicio Sidebar’, ‘theron’),
“desc” => “Remove Inicio sidebar from all the pages and make the site full width.”,
“id” => “nosidebar_checkbox”,
“std” => “0”,
“type” => “checkbox”);
$options[] = array( “name” => __(‘Footer Content’, ‘theron’),
“desc” => “Footer Text.”,
“id” => “footer_textarea”,
“std” => “”,
“type” => “textarea”);
…
functions.php
…
//SIDEBAR
function theron_widgets_init(){
register_sidebar(array(
‘name’ => __(‘Right Sidebar’, ‘theron’),
‘id’ => ‘sidebar’,
‘description’ => __(‘Right Sidebar’, ‘theron’),
‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”><div class=”widget_wrap”>’,
‘after_widget’ => ‘</div></div>’,
‘before_title’ => ‘<h3 class=”widgettitle”>’,
‘after_title’ => ‘</h3>’
));
register_sidebar(array(
‘name’ => __(‘Inicio Sidebar’, ‘theron’),
‘id’ => ‘inicio’,
‘description’ => __(‘Inicio Sidebar’, ‘theron’),
‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”><div class=”widget_wrap”>’,
‘after_widget’ => ‘</div></div>’,
‘before_title’ => ‘<h3 class=”widgettitle”>’,
‘after_title’ => ‘</h3>’
));
register_sidebar(array(
‘name’ => __(‘Footer Widgets’, ‘theron’),
‘id’ => ‘foot_sidebar’,
‘description’ => __(‘Widget Area for the Footer’, ‘theron’),
‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”><div class=”widget_wrap”>’,
‘after_widget’ => ‘</div></div>’,
‘before_title’ => ‘<h3 class=”widgettitle”>’,
‘after_title’ => ‘</h3>’
));
}
add_action( ‘widgets_init’, ‘theron_widgets_init’ );
…