I have multiple sidebars, and I’m assigning widgets to each, which is working fine in the back end.
The problem is, I want each sidebar to fetch all the widgets assigned to it. But if I use dynamic_sidebar(1), or 2, 3, 4 etc, it just gets me the 1st widget assigned in the admin area, regardless of which sidebar it belongs to.
Is there a way I can loop the widgets assigned to a specific sidebar?