Linux 软件免费装
Banner图

Beforely – Before After Image Slider

开发者 appholdings
更新时间 2026年10月19日 14:06
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

slider block before after compare images image comparison

下载

1.0.0 1.0.1

详情介绍:

Beforely puts a "before" photo and an "after" photo on top of each other. Visitors drag the handle, or click anywhere on the image, to reveal more of one or the other. It works well for renovations, cleaning and landscaping jobs, salons and med spas, dentists, photo retouching and product results. Features Shortcode [beforely before="12" after="34"] before and after take a media library ID or an image URL. Optional attributes: Beforely Pro Need more? Beforely Pro is a separate paid plugin that adds video comparisons, one-photo effects (black and white, sepia, blur), a filterable gallery block, click, scroll and auto-sweep modes, and more handle and label styles. This free plugin has no limits and shows no upgrade prompts.

安装:

  1. In your dashboard go to Plugins > Add New, search for "Beforely" and click Install, then Activate.
  2. Edit a page or post, click the + button and add the "Before After Slider" block.
  3. Choose the before photo and the after photo. Adjust labels, direction and style in the block settings sidebar.
For the classic editor or a page builder, add the [beforely] shortcode with the media library IDs of your two images.

屏幕截图:

  • The block and its settings in the block editor.
  • Top and bottom direction with labels.

常见问题:

Do the two photos need to be the same size?

The slider takes its size from the before photo, and the after photo is scaled to cover the same area. Photos taken from the same spot with the same framing and aspect ratio line up best.

Can I use it with Elementor, Divi or another page builder?

Yes. Add the [beforely] shortcode in the builder's shortcode or text widget.

How do I find a media library ID?

Open Media > Library, click the image, and look at the address bar. The number after item= is the ID. You can also use the image URL instead.

Can I put several sliders on one page?

Yes, as many as you like.

Does it work without JavaScript?

The slider shows both photos at the starting position without JavaScript. Moving the handle needs JavaScript.

Does it collect any data?

No. It makes no external requests, sets no cookies and does not track visitors.

更新日志:

1.0.1 1.0.0