| 开发者 | dumitrubalaban |
|---|---|
| 更新时间 | 2026年8月31日 05:36 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
block.json, the REST API), so Bindery never owns your markup and adds no builder lock-in.
What it does
bindery_attrs()) makes a single element editable; template tags render declared fields anywhere; eight ready-made blocks cover richer content.bindery_attrs() marks one element editable in your template.bindery_field() / bindery_value() render a declared field in PHP.DEVELOPERS.md and README.md.
bindery folder to /wp-content/plugins/, or install the ZIP from Plugins → Add New → Upload Plugin.No. It resolves a value (a client's saved override, or your code default) and outputs your own clean markup. Editable regions are marked with data-* attributes that are only emitted for logged-in users who can edit; visitors get clean HTML.
No. With auto content editing enabled on the settings page, your existing page text becomes editable with no code at all. Code helpers exist for developers who want precise, per-region control.
In a dedicated table (wp_bindery_values), one row per field/page/language — never mixed into your post markup. Your code default is never stored, so improving it in code reaches every site that hasn't overridden the field.
No. Only the regions you declared editable can be changed. Everything else — structure, classes, layout — is untouchable.
Yes. Each field stores a value per language, with a language switcher in the edit overlay. Plug in WPML/Polylang via a filter, or use the built-in provider.
Yes — export/import all values as JSON from the settings page or with wp bindery export / wp bindery import.
Bindery is an alternative to page builders, not an add-on. It works with any classic or block theme and the native block editor.
The /build directory shipped with the plugin (block editor scripts, the settings screen, and the front-end overlay's compiled entry points) is generated from the human-readable source in /src-js using @wordpress/scripts and the included webpack.config.js. Both the full source and the build configuration are published in the plugin's public repository:
https://github.com/dumitrubalaban/bindery
Run npm install && npm run build from the repository root to reproduce /build from /src-js.