| 开发者 | rnzo |
|---|---|
| 更新时间 | 2026年7月14日 08:13 |
| 捐献地址: | 去捐款 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
blocks folder to /wp-content/plugins/, then activate it from the Plugins screen.
After activation
A new Blocks menu appears in your admin sidebar, right below Posts and Pages. Create your first block, copy its shortcode, and paste it anywhere on your site. The getting started guide walks you through it, including the native elements for every page builder.
Updating
Update from the Plugins screen like any other plugin. Your blocks are stored as regular WordPress content, so they are safe across updates. As with any update, we recommend backing up your site first.Create a block under the Blocks menu, copy its shortcode (for example [block id="42"]), and paste it into any post, page, or text widget. The block content renders wherever the shortcode appears. See shortcode usage in the Blocks guide for more examples.
Every place that uses its shortcode updates automatically. Write once, edit once, updated everywhere. Learn more about how reusable blocks work.
Yes. Blocks ships integrations for the block editor (Gutenberg), Elementor, Divi, Bricks, Beaver Builder, WPBakery, Oxygen, Zion, Thrive, Breakdance, and Fusion (Avada). The page builder notes cover each integration.
Variables are values you define once and reuse anywhere as a token. Put {{blocks:phone}} or {{blocks:support_email}} inside any block, banner, or popup, and update the value in one place when it changes. Built-in tokens cover your site info (phone, email, address, social links) plus dynamic values like {{blocks:year}}. You can also print one directly with [blocks var="name"], and an optional "resolve variables everywhere" setting makes tokens work typed directly into regular content, widgets, and any page builder. The blocks: prefix means your tokens never collide with other plugins or JavaScript templates. The variables guide lists every built-in token.
Yes. The Import / Export page downloads all your blocks and variables as one JSON file, and imports the same file on any other site running Blocks. Existing blocks are matched by title and never overwritten unless you say so. See export and import for details.
Yes. Blocks supports categories and tags, so large libraries stay manageable. Read more in the organizing blocks section.
Start with the Blocks documentation, or ask in the support forum and we'll help you out.