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

Add LightBox & Title

描述

This plugin automatically add the rel=”lightbox[POST-ID]” to images linked in a post and in a comment, and recovers the image title.
POST-ID is unique per post so all images per post are grouped in one LightBox set.
Doesn’t add the files required for LightBox, it’s add the “rel lightbox” tag.
You have to insert the required files yourself in your theme, you can use Lightbox 2, Shadowbox.js or an other script, or use a plugin like Shadowbox JS.

螢幕截圖

  • The code without Add LightBox & Title
  • The code with Add LightBox & Title

安裝

  1. Unzip the folder /add-lightbox-title/
  2. Upload it in /wp-content/plugins/ of your WordPress installation
  3. Activate the Plugin
  4. And that’s it!

常見問題

How disable the automatic addition for an image?

You must add rel=”nolighbox” to the image link.

Which script is better to use?

Can work with any script that uses the tag rel=”lightbox[xy]”, we recommend the use of the script Shadowbox.js by insert the script in the theme or via the plugin Shadowbox JS.

Shadowbox.js use the tag rel=”shadowbox[xy]” this plugin works however

Yes, Shadowbox.js normally use the tag rel=”shadowbox[xy]” but works however with the tag rel=”lightbox[xy]”

評價

There are no reviews for this plugin.

貢獻者及開發者

“Add LightBox & Title” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Add LightBox & Title 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.5

  • Released 25.05.2010
  • New: Compatible up to: 3.0

1.4

  • Released 27.02.2010
  • New: Allow all characters in the name of the image (Thanks Thiago)

1.3

  • Released 10.01.2010
  • New: Compatible up to: 2.9

1.2

  • Released 12.06.2009
  • New: Compatible up to: 2.8

1.1

  • Released 31.03.2009
  • Bug fix: If rel=”…” is alredy exist but not rel=”lightbox” add it
  • New: If user add rel=”nolighbox” not add rel=”lightbox[ID]”

1.0

  • Released 24.03.2009
  • Bug fix: Add Lightbox to text link
  • Bug fix: Don’t add “rel=…” and “title=…” if already exist in the link

0.2

  • Released 20.03.2009
  • Simplification of the code

0.1

  • Released 19.03.2009
  • First Release