footer supporters
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
require_once( __DIR__ . '/includes/supporters-widget.php');
|
||||
|
||||
if (function_exists('add_theme_support')) {
|
||||
add_theme_support('automatic-feed-links');
|
||||
|
||||
@ -60,13 +62,14 @@ function register_ildi_menus() {
|
||||
}
|
||||
|
||||
function ildi_register_sidebars() {
|
||||
// 'description' => __( 'This is the sponsor and partner logos section of the footer and should display a "Sponsors" widget.', 'ildi' ),
|
||||
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_widget' => '<div class="widget %2$s">',
|
||||
'after_widget' => '</div>',
|
||||
'before_title' => '<h1>',
|
||||
'after_title' => '</h1>',
|
||||
)
|
||||
@ -77,4 +80,5 @@ function ildi_register_sidebars() {
|
||||
add_action( 'after_setup_theme', 'register_ildi_menus', 0 );
|
||||
add_action( 'wp_enqueue_scripts', 'ildi_styles' );
|
||||
add_action( 'widgets_init', 'ildi_register_sidebars');
|
||||
// add_action( 'widgets_init', function() { register_widget( 'Sponsors_Widget' ); } );
|
||||
?>
|
||||
|
Reference in New Issue
Block a user