The Twenty20 plugin was created to allow users to swipe between two images, showcasing “before” and “after” comparisons. The plugin is designed to be fully responsive and user-friendly.
Features
Supported Page Builders
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.img2
– image ID.offset
– range from 0.1 to 1.0.direction
– horizontal|vertical
.align
– none|right|left
.width
– supports both px
and %
.before
– text for the “before” label.after
– text for the “after” label.hover
– true
or false
.