how to remove wrapping widget
I want to remove the default wrapping ul and li class=page_item page-item-2 on the widget
this is my code
register_sidebar([
id = footer1,
name = __(Footer 1),
description = __(A short description of the footer.),
'before_widget' = 'ul',
'after_widget' = '/ul',
'before_title' = ' lispan class=footer-links-title',
'after_title' = '/span/li',
]);
I want the result like this:
ul
lispan class=footer-links-titleInformation/span/li
lii class=fa fa-chevron-circle-right/i a href= class=linksTerms Conditions/a/li
/ul
when I try it the result is like this:
ul
li
span class=footer-links-titlePages/span
/li
ul
li class=page_item page-item-2
a href=http://localhost/wordpress/sample-page/Sample Page/a
/li
/ul
/ul