function custom_sidebar() {
$args = array(
'id' => 'hey',
'name' => __( 'dude', 'text_domain' ),
'description' => __( 'dude', 'text_domain' ),
'class' => 'dada',
);
register_sidebar( $args );
}
// Hook into the 'widgets_init' action
add_action( 'widgets_init', 'custom_sidebar' );
אין תגובות:
הוסף רשומת תגובה