[WordPress] 外掛分享: Spintax

首頁外掛目錄 › Spintax
WordPress 外掛 Spintax 的封面圖片
全新外掛
安裝啟用
尚無評分
12 天前
最後更新
問題解決
WordPress 6.2+ PHP 8.0+ v2.1.1 上架:2026-05-10

外掛標籤

開發者團隊

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

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

原文外掛簡介

Spintax is a content-generation toolkit for WordPress. Author reusable templates in spintax markup (enumerations, permutations, conditionals, plural agreement), then either embed them inline via shortcodes / PHP, or bind them to ACF and post-meta fields so every matching post gets its own rendered variant on save, on a cron schedule, or on demand. A built-in Logs page surfaces what each Bulk Apply / Run-now walk did; a WP-CLI surface covers staging-to-production sync.
Key features:

Enumerations {a|b|c} — randomly pick one option, with nesting support
Permutations [a|b|c] — pick N elements, shuffle, join with custom separators
Variables %var% — global, local (#set), and shortcode-level variable scopes
Conditionals {?VAR?then|else} — render a branch based on whether a variable is set (also {?!VAR?then} inverted)
Plural agreement {plural : form1|form2|form3} — pick grammatically correct noun form by count. RU/UK/BE 3-form (one|few|many), EN-style 2-form (one|many). First spintax engine with first-class plurals.
Nested templates — embed templates within templates via #include or [spintax]
ACF / post-meta bindings (NEW in 2.0) — configure once per post type, render Spintax templates into ACF text/textarea/wysiwyg fields or post-meta keys on every matching post. Auto-seed empty fields, preserve manual edits, Bulk Apply via Action Scheduler.
Object cache — rendered output cached via WP Object Cache API (Redis/Memcached ready)
Cron regeneration — optional scheduled cache refresh per template, plus per-binding cron walks
WP-CLI — wp spintax bindings list|apply|test|export|import
Validation — bracket matching, circular reference detection, syntax checking
Admin UI — code editor, live preview, shortcode copy, settings page, bindings list

Syntax based on the GTW (Generating The Web) standard.
External services
This plugin does not connect to any external services, APIs, or third-party servers.
All content generation happens locally on your WordPress server. No data is sent externally. No remote requests are made during activation, rendering, or caching.
Privacy Policy
This plugin does not collect, store, or transmit any personal user data. It does not use cookies, tracking pixels, analytics, or any form of telemetry.
Templates and their rendered output are stored entirely within your WordPress database and object cache.
Credits

Syntax based on the GTW (Generating The Web) standard
Developed by 301st

延伸相關外掛

文章
Filter
Apply Filters
Mastodon