Description
Pixello Before & After displays two images in a single interactive comparison. Visitors can move the slider to reveal the before or after image.
Features:
- Select images from the WordPress Media Library.
- Set custom labels for both images.
- Add multiple independent comparisons to the same page.
- Use mouse, touch, or keyboard controls.
- Insert a comparison using a shortcode.
- Automatically display interface text in English or Polish according to the WordPress site language.
The plugin is suitable for real before-and-after comparisons on websites such as renovation, cleaning, and design portfolios. Compatibility has been checked with more than one WordPress theme, but it has not been tested with every theme and configuration.
Project website: https://pixello.pl/portfolio/pixello-before-after-wordpress/
Usage
- Create and publish a comparison.
- Select the BEFORE and AFTER images from the Media Library.
- Optionally customize the image labels and save your changes.
- Copy the shortcode shown in the editor, for example:
[pixello_before_after id="10"]. - Paste the shortcode into a page or post, replacing
10with the ID of your comparison.
For best results, use two photographs taken from the same angle and with matching proportions. The comparison height is based on the first image, so the second image may be cropped.
Credits
Project and visual design: Pixello. Implementation was developed with AI assistance.
Screenshots



Installation
- Go to Plugins > Add New Plugin > Upload Plugin in the WordPress dashboard.
- Upload the ZIP archive containing the
pixello-before-afterfolder. - Activate the plugin.
- Go to Pixello Before & After > Add New.
FAQ
-
Can I place several sliders on one page?
-
Yes. Each comparison works independently.
-
Does removing an image from a comparison delete the media file?
-
No. Removing a selected image only detaches it from that comparison after the post is saved. The original file remains in the WordPress Media Library.
-
Does deactivating or uninstalling the plugin delete my comparisons?
-
No. This version does not automatically remove comparison posts, their metadata, or media files when deactivated or uninstalled.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Pixello Before & After” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Pixello Before & After” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.2.5
- Added English interface text and Polish translations for the editor, slider, and accessibility labels.
- Kept existing comparison IDs, shortcode, and custom labels unchanged.
- Localized legacy default BEFORE/AFTER labels without changing stored metadata.
1.2.4
- Prevented output before the PHP opening tag.
- Used image alternative text from the Media Library when available.
- Applied the 100-character label limit when saving comparisons.
1.2.3
- Updated the readme to English and added a WordPress compatibility header.
- Kept the slider behavior unchanged from version 1.2.2.
1.2.2
- Moved the slider interaction into a separate JavaScript file.
- Added an updated slider value description for assistive technologies.
- Preserved multiple comparison support and existing saved data.
1.2.1
- Prepared the plugin package for portfolio demonstrations.
- Loaded the interaction script only when comparisons are displayed.
- Added usage documentation.