added footer widget area

This commit is contained in:
jorge 2023-01-02 14:49:16 +01:00
parent 5642027db7
commit c883c11091
1 changed files with 11 additions and 0 deletions

View File

@ -27,6 +27,17 @@
'after_title' => '</h2>',
)
);
register_sidebar(
array(
'name' => esc_html__( 'Footer - Peu', 'ofisuport' ),
'id' => 'footer-widgets',
'description' => esc_html__( 'Add widgets here.', 'ofisuport' ),
'before_widget' => '<section id="%1$s" class="widget %2$s">',
'after_widget' => '</section>',
'before_title' => '<h2 class="widget-title">',
'after_title' => '</h2>',
)
);
}
add_action( 'widgets_init', 'ofisuport_widgets_init' );