CPS | Before / After Images

Àpèjúwe

With this plugin, you can display two similar images in one frame with a bar in the middle. So visitors can see the difference by moving the bar from left to right. Typical usecase is, when you want to show a “before-after” state with two images.

The shortcode: [surbma-before-after before_src="" before_alt="" after_src="" after_alt="" with="" height=""]

Parameters:

  • before_src: This is the URL of the left image. REQUIRED
  • before_alt: This is the ALT attribute of the left image.
  • after_src: This is the URL of the right image. REQUIRED
  • after_alt: This is the ALT attribute of the right image.
  • with: This is the width of the image.
  • height: This is the height of the image.

Only the two src parameters are required, the rest of them are optional.

Do you want to contribute or help improving this plugin?

You can find it on GitHub: https://github.com/Surbma/surbma-before-after

You can find my other plugins and projects on GitHub:

https://github.com/Surbma

Please feel free to contribute, help or recommend any new features for my plugins, themes and other projects.

Do you want to know more about me?

Visit my webpage: Surbma.com

Ìgbéwọlẹ̀

  1. Upload surbma-before-after folder to the /wp-content/plugins/ directory
  2. Activate the Surbma Ìtumọ̀ Yorùbá: – Before / After Images plugin through the ‘Plugins’ menu in WordPress
  3. ThatÌtumọ̀ Yorùbá: ’s it. Now you can use the shortcodes. 🙂

FAQ

What does Surbma mean?

It is the reverse version of my last name. 😉

Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

Àwọn Olùkópa & Olùgbéejáde

“CPS | Before / After Images” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

Túmọ̀ “CPS | Before / After Images” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

2.2

Release date: 2025-01-01

FIX

  • Changed textdomain hook to init.
  • Security fix for shortcode: parameters are properly escaped.

OTHER

  • Code optimizations.

2.1

Release date: 2020-09-15

FIX

  • Fixes jQuery call, so it is compatible with latest versions of WordPress (5.5) and jQuery.

TWEAK

  • Checked compatibility with the latest version of WordPress.
  • Changed minimum WordPress version and PHP requirements.

2.0

Release date: 2019-07-19

With this version, the plugin is rebranded to CherryPick Studios or CPS with the short version. CherryPick Studios is created by me, Surbma, so everything is the same, but better. 🙂

NEW

  • Plugin author and contributor has changed to CherryPick Studios.

TWEAK

  • Checked compatibility with the latest version of WordPress.

1.4

  • NEW Ìtumọ̀ Yorùbá: – Plugin name change.

1.3

  • TWEAK Ìtumọ̀ Yorùbá: – Modified description and name symbols.

1.2

  • TWEAK Ìtumọ̀ Yorùbá: – Simple versioning.
  • TWEAK Ìtumọ̀ Yorùbá: – Modified description and name symbols.

1.1.0

  • Updated scripts and styles.
  • Added more description.
  • Code optimization.

1.0.0

  • Initial release.