Add HTML wrapper around widget content
-
Hi Folks, hoping someone can help me. I’m using the following to register my widgets:
register_sidebar( array( 'name' => __( 'Primary Widget Area', 'qns' ), 'id' => 'primary-widget-area', 'description' => __( 'The primary widget area', 'qns' ), 'before_widget' => '<div class="widget">', 'after_widget' => '</div>', 'before_title' => '<div class="widget-title"><h4>', 'after_title' => '</h4></div>', ) );
I’m trying to add a wrapper div around just the widget content (not the title). Is this possible?
Viewing 15 replies - 1 through 15 (of 15 total)
Viewing 15 replies - 1 through 15 (of 15 total)
- The topic ‘Add HTML wrapper around widget content’ is closed to new replies.