| 开发者 | amitry |
|---|---|
| 更新时间 | 2026年6月21日 21:02 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
bacmpr_settings_schema filter to adjust the default design values.bacmpr_loaded action that fires after the plugin initialises./wp-content/plugins/ directory, or install it through the Plugins screen in WordPress.No. The before and after slider works in the standard WordPress block editor.
Select the block and use the plus button in the toolbar, or the Add comparison button in the block settings. Each comparison you add lines up next to the others and shares the same design and aspect ratio. On phones they stack so each stays readable.
Yes. With a single comparison, the Layout panel offers a width control, a left, centered or right alignment, and a fixed aspect ratio.
Yes. Enable the Move on hover option in the block settings. Touch devices keep the drag behaviour.
Yes. The handle is a real slider control with ARIA semantics, a visible focus state, and keyboard support using the arrow keys, Home and End.
No. All assets are served from your own site and the plugin does not contact external services or track anything.
Yes. You can try every option at https://demo2.amitry.de and find out more at https://amitry.de/amitry-before-after-slider/
Yes. The plugin adds a native Elementor widget called Before After Slider. Open the Elementor editor, search for "Before After", drag the widget in, choose a before and after image, and adjust orientation, labels, preset and colors in the panel.
Open Before/After Sliders in the WordPress admin menu and add a new slider. Choose a before and after image, set the options, and publish. Each slider has its own shortcode, for example [bacmpr_slider id="123"], which you can copy from the editor and paste into any post, page or widget. These managed sliders are separate from the block and the Elementor widget.