Tag Archive for ‘columns’

15 Apr 2009

WordPress [gallery]: Force x Number of Columns

Does anyone know the easiest way for WordPress [gallery] to force x number of columns display without tampering the core or manually set the columns value to the shortcode? I could only figure out 2 possible ways: function / code duplication Regular expression If you use [gallery] shortcode without setting the columns value, the default [...]