
外掛標籤
開發者團隊
原文外掛簡介
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 [
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
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
