Remove default widget markup
-
My sidebar is called this way in my theme
<div class="block"> <?php dynamic_sidebar( 'sidebar-footer-1' ); ?> </div>When I visit the website, the code shows
<div class="block"> <li id="text-4" class="widget widget_text"> <div class="textwidget"> ... </div> </li> </div>How do I get rid of the markup inside the .block-element?
In the registration in my functions the args are empty:'before-widget' => '', 'after-widget' => '', 'class' => '',
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Remove default widget markup’ is closed to new replies.