Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is it possible to use a custom before_widget and/or after_widget value for certain widgets? For example, I'd like to add a opening <div> tag before the first and closing </div> tag after the 3rd, then another opening <div> tag before the 4th, closing after the 6th and so on..

What I am trying to achieve is to create rows of widgets that would work with Twitter's Bootstrap.

share|improve this question
Something like this: wordpress.stackexchange.com/a/96686/21376 ? –  s_ha_dum Sep 10 '13 at 13:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.