Im trying to build my first WordPress theme and need a little help.
I have 4 sidebar areas setup in the footer, I would like to add a conditional statement to only show the widget area if either footer-widget-1, footer-widget-2, footer-widget-3 or footer-widget-4 sidebars are active.
I have this code:
Which means the footer div will only show if footer-widget-1 has active widgets, I would like to change this so that the footer area displays if any of these sidebars have active widgets.
Help much appreiated.
Read more here: WordPress If one of sidebars is active