Twenty20 Image Before-After Plugin Need to highlight the differences between two images? Makes it easy with Twenty20 plugin.
This inspired several new ideas for how to achieve similar functionality for our own needs. The goal was to create a feature that allows users to swipe between two images to display “before” and “after” comparisons. Most importantly, it needed to be responsive.
Features
Fully responsive and functional across all devices. No coding skills required; easy to use. Clean and intuitive user interface. Ability to add before-and-after comparisons to widgets. Compatible with popular page builders. Utilizes WP Image alt as image alt and title attributes. Support Page Builders
Elementor Page Builder. UX Builder by UXThemes. Quick Example
[twenty20 img1="" img2="" direction="vertical" offset="0.5" align="right" width="60%" before="Before" after="After" hover="true"]
Shortcode Parameters
img1
– image id.img1
– image id.offset
– 0.1 to 1.0.direction
– horizontal|vertical
.align
– none|right|left
.width
– Support both px
and %
.before
– Text.after
– Text.hover
– true or false.Video Demo
VIDEO
Installation Unzip the download package Upload twenty20
to the /wp-content/plugins/
directory Activate the plugin through the ‘Plugins’ menu in WordPress Manual Plugin Installation Download Twenty20 Plugin to your desktop. If downloaded as a zip archive, extract the Plugin folder to your desktop. With your FTP program, upload the Plugin folder to the wp-content/plugins
folder in your WordPress directory online. Go to Plugins screen and find Twenty20 Plugin in the list. Click Activate Plugin to activate it. Screenshots Add Twenty20 before-after image.
Select any two images fro Media libray.
Twenty20 Shortcode setting page.
Shortcod.
Twenty20 in action.
Multiple slider in different direction.
Twenty20 Widgest.
Widget in action.
WP Bakery Visual Composer settings.
Elementor element.
UX Builder element.
FAQ How it works?
Twenty20 works by stacking two images on top of each other. As the slider moves across the image.
Quick Example
[twenty20 img1=”” img2=”” direction=”vertical” offset=”0.5″ align=”right” width=”60%” before=”Before” after=”After” hover=”true”]
Shortcode Parameters
img1 - image id
.img1 - image id
.offset - 0.1 to 1.0
.direction - horizontal|vertical
.align - none|right|left
.width - Support both px and %
.before - string text
.after - string text
.hover - true|false
. How to add before-after slider?
Check the demo Video demo.
How to add widget
Check the demo Video demo.
Can I use more than one slider in single post or page
Yes, Twenty20 plugin allow user to add unlimited before-after slider.
Changelog 1.7.2 1.7.1 1.7.0 1.6.1 1.6.0 Security fixes, and passed in WordPress review. 1.5.9 1.5.8 1.5.7 Fix: WP 5.6 Uncaught TypeError (Thanks to @negru13) 1.5.6 Fix: Jetpackās lazy load images issue 1.5.5 1.5.4 Added: Integrated with WP Image alt. 1.5.3 Fixed cation overlay issue. 1.5.2 Fixed Before and After shortcode insert issue 1.5.1 1.5 NEW: Add Elementor Page builder support. NEW: Add UX Builder by UXThemes support. Minor CSS fixes 1.4 NEW: ‘Move slider on mouse over’. 1.3 NEW: Image Before and After caption. Fixed arrow shadow css. Widget updated. 1.2 1.1 1.0