﻿=== Before After Image Compare — Gutenberg & Elementor ===

Contributors: zelvigo

Tags: before after, image compare, image slider, gutenberg block, elementor

Requires at least: 6.0

Tested up to: 7.0

Requires PHP: 7.4

Stable tag: 1.4.3

License: GPLv3

License URI: https://gnu.org



Create stunning before and after image sliders in Gutenberg or Elementor. Free, responsive, and easy to use. Built by Zelvigo.



== Description ==



### Before After Image Compare for Gutenberg & Elementor



Showcase transformations, renovations, photo edits, and product comparisons with a smooth before/after image slider. This plugin works in the WordPress block editor (Gutenberg) and Elementor — no coding required.



**Built by [Zelvigo](https://zelvigo.com/)** — the WordPress developer tools platform for generating production-ready plugins, CPTs, taxonomies, settings pages, shortcodes, and Gutenberg blocks.



### Features



* Gutenberg block and Elementor widget

* Horizontal and vertical slider orientation

* Default offset control (0–1)

* Move slider on mouse hover

* Swipe and click-to-move options

* Before/after overlay labels

* Works with any WordPress theme



### Need more WordPress tools?



Visit [Zelvigo Dev Studio](https://zelvigo.com/) to generate custom post types, taxonomies, plugin boilerplates, and more — in minutes.



== Installation ==



1. Upload the `wptd-image-compare` folder to `/wp-content/plugins/`.

2. Activate the plugin through the **Plugins** menu in WordPress.

3. Add the **Before After Image Compare** block in Gutenberg, or the widget in Elementor.



== Frequently Asked Questions ==



**Can I use this plugin without Elementor?**



Yes. Use the Gutenberg block in the block editor. Elementor support is included when Elementor is installed.



**Does it work with any theme?**



Yes. It works with any WordPress theme that supports the block editor or Elementor.



**Who built this plugin?**



This plugin is built by [Zelvigo](https://zelvigo.com/), a WordPress developer tools platform.



== Screenshots ==



1. Gutenberg block — before after image compare in the block editor.

2. Elementor widget — search for "compare" or "before after".

3. Vertical before/after slider.

4. Horizontal before/after slider.

5. Overlay labels on the comparison slider.



== Changelog ==



= 1.4.3 =

* Fixed custom widget icon not appearing in the Elementor panel.

* Added compare icon styles for Elementor editor and preview.



= 1.4.2 =

* Added custom compare icon for Gutenberg and Elementor.

* Improved shared icon asset registration.



= 1.4.1 =

* Rebranded plugin for Zelvigo. Removed legacy WPTD branding from all user-facing areas.

* Updated plugin title, admin page, Elementor category, and promotional links to zelvigo.com.



= 1.4.0 =

* Added Gutenberg block with the same image compare options as Elementor.

* Shared frontend renderer for Elementor widget and block output.

* Elementor integration is now optional; the plugin works with the block editor alone.



= 1.3.0 =

* Fixed data-after token rendering bug in widget layout.

* Updated plugin contributor ownership parameters.



= 1.1 =

* Elementor _register_controls deprecation issue fixed



= 1.0 =

* Initial release.

