[wp-trac] [WordPress Trac] #13169: Return Dynamic Sidebars with get_dynamic_sidebar

WordPress Trac noreply at wordpress.org
Tue Mar 22 19:59:12 UTC 2016


#13169: Return Dynamic Sidebars with get_dynamic_sidebar
-------------------------+------------------------------
 Reporter:  w3prodigy    |       Owner:
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Widgets      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by tikitariki):

 I, too, would like to get a return variant of `dynamic_sidebar`. There's
 no easy way to get a count of WordPress widgets. I figured out a way using
 a hook for widgets, but I was stopped in my tracks yet again because the
 widget hooks won't fire off until the widgets are outputted, which is
 basically when `dynamic_sidebar` is ran. I need that count before calling
 `dynamic_sidebar`, but since it gets echoed out, I can't arrange the
 content appropriately. :(

 NOTE: This is my first Core Trac comment, if I did anything wrong in
 contributing to this ticket.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/13169#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list