该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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 zeo.my.

安装

  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.

评价

此插件暂无评价。

贡献者及开发者

「Gallery Columns」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Gallery Columns」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.3

  • Version bump

1.0.2

  • Added WordPress default inline styles removal functionality
  • Whitespace fixes

1.0.1

  • Fixed readme.txt

1.0

  • Initial release