WordPress.org

Support

Support » How-To and Troubleshooting » Automatically fetching all widgets assigned to a sidebar

Automatically fetching all widgets assigned to a sidebar

  • Hi,

    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?

    Thanks.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Automatically fetching all widgets assigned to a sidebar’ is closed to new replies.
Skip to toolbar