This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Gallery Columns


If you use [gallery] shortcode without setting the columns value, the default is set to 3. Some WordPress theme can either fit 3 or more column per row or less.

Imagine if you use [gallery] shortcode with default options regularly within your posts, you switch to a new theme and the theme could only fit gallery with 2 columns per row.

To overcome this issue, the plugin will force and overwrite the current number of gallery columns within any post that uses [gallery] shortcode with a new number of columns of your choice without altering or tampering its original options. It also includes feature to exclude post from being overwritten by this plugin and removing the default inline styles printed when the [gallery] shortcode is used.

For more information, check out


  1. Upload the gallery-columns directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ screen in your WordPress admin area
  3. Then go to Settings > Gallery Columns and set the Columns, Exclude or Gallery styles options. Exclude and Gallery styles is Optional

You’re done!

Note: Once activated, Gallery Columns plugin will add gallery_columns option to the options database table.


There are no reviews for this plugin.

Contributors & Developers

“Gallery Columns” is open source software. The following people have contributed to this plugin.


Translate “Gallery Columns” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Version bump


  • Added WordPress default inline styles removal functionality
  • Whitespace fixes


  • Fixed readme.txt


  • Initial release