Ver Mensaje Individual
  #4 (permalink)  
Antiguo 24/11/2013, 18:25
Avatar de admoro
admoro
 
Fecha de Ingreso: agosto-2005
Ubicación: Prov. de Bs As. Argentina
Mensajes: 435
Antigüedad: 18 años, 8 meses
Puntos: 3
Respuesta: Widget en interiores - Tercera barra?

Vuelvo a molestar. El Generatewp que nos pasó Alejandro me tiró esto:
// Register Sidebar
function custom_sidebar() {

$args = array(
'id' => 'unique_id',
'name' => __( 'interno', 'text_domain' ),
'description' => __( 'HM, noticias y servicios ', 'text_domain' ),
'before_title' => '<h2 class="widgettitle">',
'after_title' => '</h2>',
'before_widget' => '<li id="%1$s" class="widget %2$s">',
'after_widget' => '</li>',
);
register_sidebar( $args );

}

// Hook into the 'widgets_init' action
add_action( 'widgets_init', 'custom_sidebar' );


Entonces lo en "funciones"y luego en el singlo lo siguiente:

<?php dynamic_sidebar( 'id-de-mi-sidebar' ); ?>