wp-73k/src/sidebars.php

18 lines
395 B
PHP
Raw Normal View History

2019-05-23 12:30:31 -04:00
<?php
namespace WP_73k;
2019-05-23 12:30:31 -04:00
/**
* Register widget area.
*/
add_action( 'widgets_init', function () {
2021-07-04 18:16:33 -04:00
register_sidebar( [
'name' => esc_html( 'Footer' ),
'id' => 'footer-widgets',
'description' => 'Blog page footer area for widgets',
'before_widget' => '<section id="%1$s" class="%2$s widget">',
'after_widget' => '</section>',
2021-07-04 18:16:33 -04:00
] );
2019-05-23 12:30:31 -04:00
} );