TwentyTwenty Compare
Need to highlight the differences between two images? TwentyTwenty, a visual diff tool, makes it easy to spot them!
Utiliser avec prudence
TwentyTwenty Compare works, but test it on a staging site before relying on it in 2026. It runs on 90+ sites, is rated 4/5 and was last updated 5 months ago, and scores 57/100 on our health check.
- Petite base d'utilisateurs (90+ installations actives)
- Très peu de critiques jusqu'à présent
Téléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where TwentyTwenty Compare stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| before after image compare | #23 |
| comparison image slider | #82 |
| Gutenberg Bloc | >100 |
| twentytwenty compare | #1 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★ ★★★★★ 4 sur 1 avis
About TwentyTwenty Compare
À partir du Lisez-moi officiel · v2.0.2Description
TwentyTwenty Compare brings the popular jQuery TwentyTwenty plugin to WordPress with full Gutenberg block support. Compare two images with an interactive before/after slider.
Traits
- Gutenberg Block – Native WordPress block editor integration with intuitive controls
- Shortcode Support – Use shortcodes in posts, pages, or widgets
- Multiple Options – Customize orientation, labels, behavior, and dimensions
- Responsive Design – Works perfectly on all devices
- Touch Support – Works with touch gestures on mobile devices
- Easy to Use – Simple interface for selecting and managing images
Block Features
The Gutenberg block includes:
* Image uploader for before/after images
* Visual preview in the editor
* Customizable labels (Before/After text)
* Orientation selection (Horizontal/Vertical)
* Slider offset control
* Behavior toggles (hover, handle-only, click-to-move)
* Dimension controls (width/height)
* Responsive mode
Usage
Using Gutenberg Block
- Edit any post or page
- Click the “+” (Add Block) button
- Search for “TwentyTwenty Compare”
- Click the block to add it
- Upload your before and after images
- Customize settings in the sidebar
Using Shortcodes
Basic Usage:
[twentytwenty_compare before="https://yoursite.com/image-before.jpg" after="https://yoursite.com/image-after.jpg"]
With Custom Labels:
[twentytwenty_compare before="before.jpg" after="after.jpg" before_label="Original" after_label="Edited"]
Vertical Orientation:
[twentytwenty_compare before="before.jpg" after="after.jpg" orientation="vertical"]
Custom Dimensions:
[twentytwenty_compare before="before.jpg" after="after.jpg" width="800px" height="500px"]
Shortcode Attributes
Attribute
Default
Description
before
required
URL of the before image
after
required
URL of the after image
before_label
“Before”
Label text for before image
after_label
“After”
Label text for after image
orientation
“horizontal”
“horizontal” or “vertical”
offset
“0.5”
Initial slider position (0-1)
width
“”
Container width (e.g., “100%”, “800px”)
height
“”
Container height (e.g., “500px”)
no_overlay
“false”
Hide label overlays
move_on_hover
“false”
Move slider on hover
handle_only
“true”
Only move via handle
click_to_move
“false”
Click anywhere to move slider
responsive
“true”
Make container responsive
Using in PHP
`php
`
Commentaires
If you find this plugin useful, please leave a review at https://wordpress.org/support/plugin/js-twentytwenty/reviews/
Soutien
- GitHub: https://github.com/obaidhossain/js-twentytwenty
Installation
Installation manuelle
- Download the plugin zip file
- Go to Plugins > Add New > Upload Plugin
- Select the zip file and click “Install Now”
- Activer le plugin
Journal de modifications
Major update with Gutenberg block support. If upgrading from version 1.x, please note that the shortcode has changed from t20baic to twentytwenty_compare. All options remain the same.
2.0.1
- Improved security concerns provided by “Plugin Check”
2.0.0
- Added Gutenberg block support
- New text domain:
twentytwenty-compare - Improved UI with image previews in settings
- Added Replace/Remove buttons for images
- Updated jQuery TwentyTwenty library
- New shortcode:
twentytwenty_compare - Multiple language support added
- Code refactoring and cleanup
1.0
- Communiqué initial
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
FAQ
TwentyTwenty Compare: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is TwentyTwenty Compare free?
Yes. TwentyTwenty Compare is free to download and use from the official WordPress.org plugin directory.
Is TwentyTwenty Compare safe to use in 2026?
TwentyTwenty Compare works, but test it on a staging site before relying on it in 2026. It runs on 90+ sites, is rated 4/5 and was last updated 5 months ago, and scores 57/100 on our health check.
How many websites use TwentyTwenty Compare?
TwentyTwenty Compare is active on 90+ WordPress websites and has been downloaded 3,438 times since it launched in April 2017. It was downloaded 190 times in the last 30 days.
Does TwentyTwenty Compare work with WordPress 7.1?
TwentyTwenty Compare is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does TwentyTwenty Compare need?
TwentyTwenty Compare requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was TwentyTwenty Compare last updated?
The latest version, 2.0.2, was released on June 30, 2026 (5 months ago).
Who makes TwentyTwenty Compare?
TwentyTwenty Compare is developed and maintained by Obaid Hossain.
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit


