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

Image Switcher

描述

Note: Try your best to use 2 same height images instead of using Force Height Option

Image Switcher plugin will give you ability to set two images together and image will change on Mouse hover. There are lots of benifits you’ll
get from this particular plugin. All the list given :

  • You can create shortcode from plugin admin panel.
  • You don’t need any css skill to decorate it properly.
  • Place the shortcode wherever you want.
  • Create shortcodes directly through page builders(Visual Composer, Elementor etc) (Coming Soon!).
  • Simply place this shortcode to preview the effect [image_switcher] . But you need to generate shortcode to add your own images and details.

If anyone has any idea to improve this plugin then just let me know through Here . I’ll try my best to add that in future updates

螢幕截圖

  • assets/screenshot-1.png
  • assets/screenshot-2.png

安裝

  1. Upload the plugin files to the /wp-content/plugins/image-switcher directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Image Switcher screen to configure the plugin

常見問題

I’m not finding shortcode generator page, Where it is?

After installing this plugin you’ll see settings link directly, just click there. Or go to Settings => Image Switcher

Can place the shortcode in php?

Yes you can. You have to use do_shortcode(“[image_switcher]”); function.

評價

2019年1月3日 1 reply
I looked forever for a plug-in that would do this & finally came upon this one. It works easily & really well, but I just tested my site in mobile & realized there's no mobile support. Now I'm not sure what to do with all those lovely rollovers I just created on my site. So I'm conflicted about this one—thanks for creating this but is there any potential for a mobile option where the user taps the image & it transforms to the rollover image, then back again if tapped again?
閱讀全部2個評價

貢獻者及開發者

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

貢獻者

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

對開發相關資訊感興趣?

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

修改日誌

1.0

  • Initial release.

1.1

Improved compatibility
* -Slowness- : It was slow to change/switch image while hovering. Now it is fixed.
* -JS- : Rely on JS reduced. Now it relies on CSS.
* -Responsive- : forced height will break in tabs,mobiles. That’s mean images regular/ real height will work on tabs/mobiles.