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

Gameplorer`s WPColorBox

描述

There are a few ColorBox plugins available, but the most of them add inline JavaScript code
to your site, embed the script files in the head instead at the bottom and other issues which
impact the site performance.
I needed something better and developed this plugin for a Blog about Casual Games.
Now I decided to make it public, if you wonder about the plugins name. 🙂

Features of Gameplorer`s WPColorBox

  • It adds the required HTML-Code automatically to all links which point to an image.
  • It doesn’t alter your posts, just the output.
  • It enqueues the ColorBox script at the bottom of your site for a better site performance.
  • It doesn’t add any inline JavaScript code for a better site performance.
  • You can disable enqueuing of CSS and JavaScript files in the options*.
  • You can choose between 5 different UIs of ColorBox in the plugin options.
  • It automatically combines multiple images to a gallery (displays next and prev links).

* Useful if you want to enqueue it from other sources (e.g. CDN) or want to copy the code into your existing files.

See some plugin details and Screenshots on Gameplorer.de.

螢幕截圖

  • Clean and simple: Your options.

常見問題

What does Gameplorer`s WPColorBox open in a ColorBox?

In this version it opens links in a ColorBox, which are pointing to
an image file (href ending with png, jpg, jpeg or gif).

How can I use the ColorBox effects on other things?

Simply add the class “colorbox” to your link: <a class=”colorbox” …>.

What else can I do with ColorBox?

ColorBox is a great jQuery plugin. Have a look at the original site: jQuery ColorBox.

Have you developed jQuery ColorBox?

Nope. All credits for ColorBox go to @JacklMoore.
I (@Gameplorer) just make it easier to use ColorBox in WordPress.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Gameplorer`s WPColorBox” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Gameplorer`s WPColorBox 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

v1.3, 09 Oct. 2011

  • Now using the alt attribute of the image as colorbox-title, if there’s no title attribute specified.
  • Enabled “next” and “previous” for WordPress galleries too.

v1.2, 03 Oct. 2011

  • Updated colorbox to 1.3.17.
  • Now you can add “nocolorbox” as class or rel to disable the colorbox effect for that specific link.