
外掛標籤
開發者團隊
原文外掛簡介
Spintax is a content-generation toolkit for WordPress that turns one template into unique, non-duplicate copy across your whole site. Author reusable templates in spintax markup (enumerations, permutations, conditionals, plural agreement), then either embed them inline via shortcodes / PHP — automatically picking up the current WooCommerce product on product pages — 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.
Ideal for content managers and SEO specialists producing many similar-but-unique pages: product descriptions, category copy, location / landing pages, listing blurbs, and FAQ snippets.
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.
WooCommerce product context (NEW in 2.2) — on a single-product page, [spintax] / spintax_render() automatically expose the current product as %product_name%, %product_sku%, %product_categories%, %product_attribute_
WooCommerce product-field bindings (NEW in 2.4) — generate a product’s description or short description from a template, per product, using that product’s own SKU, categories and attributes. Only those two fields are writable; price, SKU and stock are commerce data and stay out of reach. Manual edits are preserved by default.
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
