跳到内容

Side by Side

v1.0.2

damiarita · 2015年11月27日 上架

This plugin allows you to put two images next to each other. When you move your mouse over them, the line that separates them will move with it!

正在使用
20+
评分
5.0 / 5
累计下载
3,327
最近更新
2017年11月15日
2 条评价需要 WordPress 1.0.2+已测试到 4.8.35

贡献者

截图

Default view of two pictures.
Default view of two pictures.
Once I move the mouse over the images, the separating bar moves with it.
Once I move the mouse over the images, the separating bar moves with it.

This plugin allows you to put two images next to each other. When you move your mouse over them, the line that separates them will move with it! It’s perfect to compare “before” and “now” images.

This plugin will use jQuery to detect when your mouse gets into the box and move the white bar with it.

Simply use the shortcodes like this:
[sidebyside]
[sidebyside-left]
Put here whatever content you want to be on the left side
[/sidebyside-left]

  [sidebyside-right]
    This is the place for the content that goes to the right
  [/sidebyside-right]
[/sidebyside]

What should I put in the shortcodes?

You can put whatever you want.

My suggestion is that you put two images with the same height

Is it responsive?

Yes!

All CSS properties are written with responsive design in mind. So it will look good in all kind of screen sizes.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums