[WordPress] 外掛分享: CaseLens Before and After Gallery

首頁 › 外掛目錄 › CaseLens Before and After Gallery
WordPress 外掛 CaseLens Before and After Gallery 的封面圖片
全新外掛
安裝啟用
—
尚無評分
2 天前
最後更新
—
問題解決
WordPress 6.2+ PHP 7.4+ v1.0.0 上架:2026-10-30

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「CaseLens Before and After Gallery」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

CaseLens turns a set of before and after photos into a browsable gallery of cases.
It adds its own Gallery Cases post type and a hierarchical Procedures taxonomy, so your cases stay separate from posts and pages. Each case holds any number of before/after photo pairs plus the detail fields you define, and visitors can narrow the gallery down by procedure, by those details, or by case number.
Nothing else is needed: no page builder, no custom field plugin and no particular theme.
What you get

A Gallery Cases post type with its own admin menu, list columns and editor.
A hierarchical Procedures taxonomy for grouping cases, with parents and children.
Before and after photo pairs on each case, chosen from the media library, reorderable by drag.
Case fields you define yourself — text, number, single choice and multiple choice — grouped however you like.
A front-end gallery with a procedure menu, a filter dialog built from your own fields, a case-number search and “Load more”.
Clean URLs: /gallery/, /gallery/procedure/ and /gallery/procedure/case/, with 301 redirects from older query-string links.
Titles, descriptions and canonical tags for procedure pages, on plain WordPress and through Yoast SEO when it is active.
Templates you can override from your theme, and filters for the generated meta.

How it works
The first page of cases is rendered by PHP, so the gallery is visible to visitors and to search engines without JavaScript. The script then adds procedure switching without a page reload, the filter dialog and the “Load more” button, all through the plugin’s own REST routes under caselens/v1.
Shortcode
Place the gallery on any page:
[caselens_gallery]

Attributes:

procedure — show only one procedure, by slug.
per_page — cases per page (3 to 60).
columns — grid columns (1 to 6).
sidebar — yes or no, for the procedure menu.
filters — yes or no, for the filter button.
search — yes or no, for the case-number search.

For example: [caselens_gallery procedure="breast" columns="2" sidebar="no"]
Who it suits
Any site that shows paired results: clinics and practices, dentists, hair and beauty studios, renovation and landscaping firms, detailers, restorers, cleaning companies, trainers — anywhere a before and a after picture tell the story.

延伸相關外掛

文章
Filter
Mastodon