Monthly Archives: October 2011

Making Theme Widget Areas More Dynamic

Making a horizontal widget area more dynamic. Instead of hard-coding the widths of each widget and making the layout static, I decided to make it have dynamic widths. By dynamic I’m not just talking about using percentage widths, but making the widths dependent on how many widgets are added to the area. By using a built-in WordPress function and some simple php math, dynamic widths can easily be applied. Continue reading

Posted in wordpress | Tagged , , , | Comments Off on Making Theme Widget Areas More Dynamic