footer sidebar start
This commit is contained in:
@ -59,8 +59,22 @@ function register_ildi_menus() {
|
||||
));
|
||||
}
|
||||
|
||||
function ildi_register_sidebars() {
|
||||
register_sidebar(
|
||||
array(
|
||||
'id' => 'footer-sponsors',
|
||||
'name' => __( 'Footer Sponsors', 'ildi' ),
|
||||
'description' => __( 'This is the sponsor and partner logos section of the footer.', 'ildi' ),
|
||||
'before_widget' => '<section class="widget %2$s">',
|
||||
'after_widget' => '</section>',
|
||||
'before_title' => '<h1>',
|
||||
'after_title' => '</h1>',
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
// add_action('init', 'register_ildi_menu');
|
||||
add_action( 'after_setup_theme', 'register_ildi_menus', 0 );
|
||||
add_action('wp_enqueue_scripts', 'ildi_styles');
|
||||
add_action( 'wp_enqueue_scripts', 'ildi_styles' );
|
||||
add_action( 'widgets_init', 'ildi_register_sidebars');
|
||||
?>
|
||||
|
Reference in New Issue
Block a user