[WordPress] 外掛分享: Alphabetical Pagination

首頁外掛目錄 › Alphabetical Pagination
30+
安裝啟用
★★☆☆☆
2.3/5 分(3 則評價)
8 天前
最後更新
問題解決
WordPress 5.0+ PHP 8.1+ v2.4.2 上架:2012-10-24

內容簡介

WP-SNAP!(WordPress 瀏覽按字母排序文章系統)可以在類別或頁面模板檔案上創建文章標題的按字母排序清單。通過使用字母本身,可以在 WP-SNAP!生成的列表中進行導航。(例如,如果訪客在字母 D 上單擊,任何以該字母開頭的文章標題都會被展示。) WP-SNAP!將適用於任何 WordPress 3.0.1 或更高版本的網站,但特別適用於管理詞彙表、索引、評論或目錄。

WP-SNAP! 提供了三種不同的導航樣式以及與自定義永久鏈接和 WordPress loop的整合。插件選項可以在整個網站和模板上管理,並且可以將結果限制在一個類別中或擴大至包括子類別。聰明的網頁開發人員不應該在將 WP-SNAP!無縫集成到其最新項目中遇到任何問題。還添加了選項,允許自定義 CSS 類名稱和 HTML 標記外觀。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.4.2) 或搜尋安裝

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

原文外掛簡介

Alphabetical Pagination (formerly WP-SNAP Extended!) builds an alphabetical index of post titles across any public post type. Visitors jump straight to a letter (A, B, C …), browse a paginated list of matching posts, and click through to each post’s permalink.
Built for modern WordPress: PHP 8.1+ typed classes, schema-validated options, prepared SQL throughout, semantic markup, no jQuery dependency, no bundled CSS framework, zero front-end JS by default.
Why use it

Modern PHP 8.1+ architecture — typed final classes under includes/, every superglobal sanitised, every echoed value escaped, every DB call prepared.
Three embedding surfaces — [alphabetical_pagination] shortcode, alphabetical_pagination() template tag, and a native Gutenberg block (wp-snap-ext/index).
WooCommerce auto-mount — one click renders the index above the shop loop or product category archives via the native woocommerce_before_shop_loop action. No DOM hacks, no posts_where SQL filter injection.
15 bundled alphabet packs — English, Arabic, Chinese (Pinyin), German, Spanish, French, Greek, Hebrew, Hindi, Hungarian, Korean (Hangul Jamo), Russian, Thai, Turkish, Urdu.
WPML + Polylang aware — the letter cache keys on current language, so translated post sets render and cache per-language automatically.
REST API — GET /wp-json/wp-snap-ext/v1/letters and /posts for headless / React / app integrations.
Documented developer hook API — do_action/apply_filters at every render path so agencies can customise without forking.
Transient letter-availability cache — letter counts cached as transients, busted on save_post. Configurable TTL.
ACF excerpt fallback — supports top-level, sub-field, and deep flexible-content / repeater / group lookups via recursive get_fields() walk.
WCAG 2.1 AA —

文章
Filter
Apply Filters
Mastodon