diff --git a/footer.php b/footer.php index 258d110..64969e9 100644 --- a/footer.php +++ b/footer.php @@ -1,3 +1,4 @@ diff --git a/functions.php b/functions.php index df588a8..27a966a 100644 --- a/functions.php +++ b/functions.php @@ -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' => '
', + 'after_widget' => '
', + 'before_title' => '

', + 'after_title' => '

', + ) + ); +} // 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'); ?> diff --git a/index.php b/index.php index 4e2f59a..5100038 100644 --- a/index.php +++ b/index.php @@ -29,7 +29,6 @@ - diff --git a/sidebar-footer-sponsors.php b/sidebar-footer-sponsors.php new file mode 100644 index 0000000..f3a34c5 --- /dev/null +++ b/sidebar-footer-sponsors.php @@ -0,0 +1,5 @@ + +
+ +
+