wordpress count widgets

Hi I am trying to figure out as to how can we get the count of widgets published in a given sidebar position.

For example I have a sidebar called UTILITY which is a horizontal sidebar. I want the width of these widget positions to adjust equally according to the number of widgets published in it.

I want to know that on a given page how many widgets are published in this sidebar so that I can assign a width class according to it.

9
задан Vikram Rao 14 December 2010 в 16:02
поделиться