• Dexter0015

    (@improvedline)


    Hi,

    First thanks you for this excellent plugin.

    I have a minor ‘issue’ :

    I’m working on WordPress 4.0 and my theme define several sidebars.

    I use the “setup theme” to automatically create corals for each sidebar : no problem!

    My “issue” is this :
    When I add several widgets to the same coral/sidebar, the sidebar wrappers are duplicated around each widget like this :

    <div class="mysidebar">
    	<div id="widget-1" class="widget">
    		<div class="content">
    			...
    		</div>
    	</div>
    </div>
    <div class="mysidebar">
    	<div id="widget-2" class="widget">
    		<div class="content">
    			...
    		</div>
    	</div>
    </div>

    As I choose to put several widget in the same coral/sidebar, I don’t understand why the wrappers are duplicated.

    What can i do to get the widgets rendered like so :

    <div class="mysidebar">
    	<div class="content">
    		<div id="widget-1" class="widget">
    			...
    		</div>
    		<div id="widget-2" class="widget">
    			...
    		</div>
    	</div>
    </div>

    or even without the “content” div ?

    Thanks

    https://www.ads-software.com/plugins/widget-wrangler/

Viewing 1 replies (of 1 total)
  • Plugin Author Jonathan Daggerhart

    (@daggerhart)

    Hi improvedline,

    I agree that this is not great. I haven’t previously been able to get the output exactly how I want it, so it will take a new approach. Since the existing output is in the wild and used on sites, I’ll have to handle improvements carefully.

    My plan is to make a new setting for “Even better theme compatibility”, or something similar, so that existing users can retain their current output. This new setting will allow for custom widget classes and IDs as well as this thread requests — https://www.ads-software.com/support/topic/classes-of-widget-on-output .

    I’ll let you know when this is included in a release.

    Thanks,
    Jonathan

Viewing 1 replies (of 1 total)
  • The topic ‘Several widgets in corral duplicate sidebars wrappers’ is closed to new replies.