這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

TwentyTen Gallery Fix

外掛說明

TwentyTen theme will break galleries with more then 3 columns (also 2 columns galleries look strange). This is a little fix.

TwentyTen, the default WordPress theme, removes the default dynamic styles from WordPress galleries, and adds some static CSS, so galleries with anything but 3 columns look broken. Its not a WordPress bug, it is TwentyTen specific.

What is the problem? TwentyTen themes CSS sets all the gallery items width to 33%, so any gallery with more then 3 columns looks broken (the items are thrown on the next row), as the the total width of the gallery excedes the post width (4 x 33% = 132%).

This plugin adds some custom classes to galleries (eg. 4 columns: .width-25), and some CSS that fixes the width problem.

No configuration needed. Just upload, and install. The galleries will look as they should.

Plugin’s page

螢幕擷圖

  • A gallery with 8 items, and 4 columns (150px thumbnails) twentyTen default
  • A gallery with 8 items, and 4 columns (150px thumbnails) twentyTen fixed
  • A gallery with 8 items, and 5 columns (100px thumbnails) twentyTen default
  • A gallery with 8 items, and 5 columns (100px thumbnails) twentyTen fixed

安裝方式

Upload TwentyTen Gallery Fix plugin to your blog. Activate it. Done!

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈TwentyTen Gallery Fix〉的開發相關工作。

參與者

將〈TwentyTen Gallery Fix〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

  • Version 1.0
    • Initial version