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

TwentyTwenty

描述

This plugin brings the power of Zurb TwentyTwenty to your blog. From our friends at Zurb:

We recently needed a way to showcase the visual differences between two images. Folks tend to typically place two images next to each other in hopes that it’ll be clear exactly what changed. We even thought about having one image fade into another. But we knew there had to be an even better way to highlight the differences between two images. A way that would bring everything into focus.

Find out more about TwentyTwenty, and see examples, on the official TwentyTwenty site from Zurb.

Watch this screencast to see the plugin in action and learn how to use it.

Instructions

  1. Make sure your before and after images are the same size. The before-and-after box will use the size of the first image, and assume that the second image is the same size.

  2. Insert two images into a post, one right after the other.

  3. Before the first image, type [twentytwenty]. After the second image, type [/twentytwenty]. See the second screenshot for an example.

Watch this screencast to see the plugin in action and learn how to use it.

螢幕截圖

  • Before and after pictures in a post. Images courtesy Abbie Rowe / National Archives.
  • TwentyTwenty shortcodes in the WordPress editor. Images courtesy Abbie Rowe / National Archives.

安裝

Using The WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Search for ‘TwentyTwenty’
  3. Click ‘Install Now’
  4. Activate the plugin on the Plugin dashboard

常見問題

Installation Instructions

Using The WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Search for ‘TwentyTwenty’
  3. Click ‘Install Now’
  4. Activate the plugin on the Plugin dashboard
Why aren’t my pictures lining up properly?

Make sure that the pictures are the exact same height and width, and that you choose the same display size for the images when you upload them (ex. medium, large, full size).

What browsers does this support?

TwentyTwenty is tested the latest versions of Chrome, Safari, FireFox, and iOS, and on IE 9 and above.

Can I customize how the slider looks?

Not yet, but I hope to enable that in a future release?

Will this work on any WordPress theme?

It should, but please report any issues on this blog post or the support forum to the right.

評價

2018年3月13日
Di facile installazione e configurazione, una resa veramente notevole.
2016年9月3日
I just built a site for a client and this plugin was just what I needed. Install, activate. enter shortcode and absolutely perfect! Thanks
2016年9月3日
Works great for a client site who does photo retouch and needed to show before and after work. Wish it was configurable, but nothing a little custom CSS and PHP can't overcome.
2016年9月3日
We run a power washing website and this shows the difference beautifully. Not too fast at loading though, but that's probably a mix of our internet speed and the photo size.
閱讀全部23個評價

貢獻者及開發者

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

貢獻者

將 TwentyTwenty 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0

  • Initial version