WordPress, Removing <ul> wrappers from dynamic_sidebar

In WordPress, when we call dynamic_sidebar(‘sidebar-id’); to our some template file, then this function generates ul wrappers arround the li items. Is there any way to remove that ul wrappers?

Related posts

2 comments

  1. Try this

    <div class="sidebar_class">
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar-id')) : ?>
    <?php endif; ?>
    </div>
    

Comments are closed.