Önce custom sidebar oluşturmalısınız.
functions.php içerisine:
function my_custom_sidebar() {
register_sidebar(
array (
'name' => __( 'Custom' ),
'id' => 'custom-side-bar',
'description' => __( 'Custom Sidebar Açıklama' ),
'before_widget' => ' ",
'before_title' => '',
'after_title' => '
',
)
);
}
add_action( 'widgets_init', 'my_custom_sidebar' );
sidebar'ın görünmesini istediğiniz yere:
kodlarını ekleyin.
Bileşenler kısmında oluşan Custom isimli sidebar'a bileşenleri ekleyin.