dimanche 30 novembre 2014

Widget area inside a widget


I tried putting dynamic_sidebar('widget-id') inside a custom widget I created and it worked. The only thing I can't figure out is how I can do this through a loop. Is there a way that when the widget is active, it registers a sidebar automatically with the same id as the dynamic_sidebar function inside it?





Aucun commentaire:

Enregistrer un commentaire