Title: Sleek Compare
Author: Tim Normington
Published: <strong>2026 年 3 月 17 日</strong>
Last modified: 2026 年 3 月 26 日

---

搜索插件

![](https://ps.w.org/sleek-compare/assets/banner-772x250.png?rev=3484845)

![](https://ps.w.org/sleek-compare/assets/icon-256x256.png?rev=3484845)

# Sleek Compare

 作者：[Tim Normington](https://profiles.wordpress.org/timjnormington/)

[下载](https://downloads.wordpress.org/plugin/sleek-compare.1.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/sleek-compare/#description)
 * [评价](https://cn.wordpress.org/plugins/sleek-compare/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/sleek-compare/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/sleek-compare/#developers)

 [支持](https://wordpress.org/support/plugin/sleek-compare/)

## 描述

Sleek Compare is a lightweight before/after image comparison slider for WordPress.
Built with performance in mind — no jQuery, no FontAwesome, no bloat.

#### Key Features

 * **Ultra-lightweight**: Under 10KB total (JS + CSS combined)
 * **Zero external dependencies**: No jQuery or icon libraries required
 * **Touch-friendly**: Full swipe support for mobile devices
 * **Keyboard accessible**: Arrow keys, Shift+Arrow for 10% jumps, Home/End
 * **Simple shortcode**: Works in classic editor, widgets, and page builders
 * **Lazy loading**: Images and slider initialization deferred until visible
 * **CSS variables**: Easy theming without touching code
 * **No render-blocking resources**: Scripts and styles load conditionally

#### Pro Version

Want Gutenberg block and Elementor widget support? Check out [Sleek Compare Pro](https://products.tnormington.com/sleek-compare)
for:

 * Native Gutenberg block with live preview
 * Full Elementor widget with style controls
 * Custom handle colors
 * Priority email support
 * Lifetime updates

### Usage

#### Shortcode

Basic usage:
 [sleek_compare before=”https://example.com/before.jpg” after=”https://
example.com/after.jpg”]

With all options:
 [sleek_compare before=”https://example.com/before.jpg” after=”
https://example.com/after.jpg” start=”30″ label_before=”Original” label_after=”Enhanced”
show_labels=”true” ]

#### Shortcode Attributes

 * `before` – URL of the before image (required)
 * `after` – URL of the after image (required)
 * `start` – Starting position 0-100 (default: 50)
 * `label_before` – Before label text (default: “Before”)
 * `label_after` – After label text (default: “After”)
 * `show_labels` – Show labels true/false (default: true)

## 屏幕截图

 * [[
 * Slider in action on the frontend
 * [[
 * Admin settings page with usage instructions

## 安装

 1. Upload the `sleek-compare` folder to `/wp-content/plugins/`
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Use the shortcode to add sliders to your pages
 4. Visit Settings > Sleek Compare for usage instructions

## 常见问题

### Does this work with page builders?

Yes, use the shortcode in any page builder that supports shortcodes.

### Is it mobile friendly?

Absolutely. Full touch/swipe support with optimized touch targets.

### Is it accessible?

Yes. Full keyboard navigation and screen reader support.

### How do I get Gutenberg block or Elementor widget support?

The Pro version includes these features. Visit [products.tnormington.com/sleek-compare](https://products.tnormington.com/sleek-compare)
to upgrade.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Sleek Compare」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Tim Normington ](https://profiles.wordpress.org/timjnormington/)

[帮助将「Sleek Compare」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/sleek-compare)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/sleek-compare/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/sleek-compare/)，或通过[RSS](https://plugins.trac.wordpress.org/log/sleek-compare/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/sleek-compare/)。

## 更新日志

#### 1.0.1

 * Added upgrade banner with Pro feature highlights and step-by-step upgrade instructions
 * Added FAQ entry for upgrading from Lite to Pro

#### 1.0.0

 * Initial release

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**2 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/sleek-compare/)
 * 标签
 * [before after](https://cn.wordpress.org/plugins/tags/before-after/)[compare images](https://cn.wordpress.org/plugins/tags/compare-images/)
   [gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)[image comparison](https://cn.wordpress.org/plugins/tags/image-comparison/)
   [slider](https://cn.wordpress.org/plugins/tags/slider/)
 *  [高级视图](https://cn.wordpress.org/plugins/sleek-compare/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/sleek-compare/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/sleek-compare/reviews/)

## 贡献者

 *   [ Tim Normington ](https://profiles.wordpress.org/timjnormington/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/sleek-compare/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://products.tnormington.com/sleek-compare)