Linux 软件免费装
Banner图

Blocks – Reusable Content, Shortcodes & Site Variables

开发者 rnzo
更新时间 2026年8月8日 12:04
捐献地址: 去捐款
PHP版本: 8.1 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

shortcode reusable content content blocks global content site variables

下载

26.07.13.21 26.08.07.23 26.07.19.14 26.07.12.13 026.07.07.21 26.07.13.17

详情介绍:

Blocks creates reusable content blocks, global content shortcodes, and site variables for WordPress. Create content once, insert it with a shortcode in pages, posts, widgets, or page builders, and update every placement by editing the source block. Use site variables for values such as a phone number, support email, address, price, site title, or current year. Update the variable once as a token like {{blocks:phone}} and every enabled placement displays the new value. Blocks also supports import and export for moving reusable content and variables between sites as a single JSON file. Blocks is focused on reusable site-wide content, not on providing another decorative Gutenberg block collection. Because a block renders through a plain shortcode, the same content follows you across theme changes and builder migrations. Full documentation, examples, and release notes live in the Blocks guide. Reusable Content Blocks and Global Shortcodes Blocks is one of our free WordPress plugins. Browse the full plugin collection.

安装:

Minimum Requirements Automatic installation (recommended)
  1. Log in to your WordPress dashboard and go to Plugins > Add New.
  2. Search for "Blocks".
  3. Click Install Now, then Activate.
Manual installation
  1. Download the plugin zip from the Blocks plugin page.
  2. Go to Plugins > Add New > Upload Plugin, choose the zip, click Install Now, then Activate.
After activation A new Blocks menu appears in your admin sidebar. 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.

常见问题:

How do I create reusable content in WordPress?

Create a source item under the Blocks menu, copy its shortcode (for example [block id="42"]), and paste it wherever the content should appear. Edit the source item to update every placement that uses it. See how it works.

Can I use reusable content blocks in Elementor, Divi, Bricks, or other page builders?

Yes. Blocks ships integrations for the block editor (Gutenberg), Elementor, Divi, Bricks, Beaver Builder, WPBakery, Oxygen, Zion, Thrive, Breakdance, and Fusion (Avada). Add the shortcode or the native builder element where the content should appear.

What is a global content shortcode?

A global content shortcode displays content managed in one source block. The same shortcode can be placed on multiple pages, widgets, templates, or supported builder layouts, and every placement updates when you edit the source.

How do WordPress site variables work?

Define a site variable such as a phone number, email address, price, or current year and display it with a token like {{blocks:phone}} or with [blocks var="name"]. Updating the stored variable changes every supported placement. Built-in tokens cover your site info, and an optional "resolve variables everywhere" setting makes tokens work typed directly into regular content, widgets, and any page builder.

Can I move reusable blocks and site variables to another WordPress site?

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 are not overwritten unless you choose to.

Can I organize my blocks?

Yes. Blocks supports categories and tags, so large libraries stay manageable.

Where can I get help?

Start with the Blocks documentation, or contact us directly and the developers will answer you. For ongoing help with your site, see our WordPress support plans.

Does Blocks share product telemetry?

Yes. On a new installation, the Help Improve Blocks checkbox is present, active, and checked by default. An administrator can turn it off at any time under Blocks Settings, and a saved opt-out stays off across updates. While enabled, Blocks sends a bounded product snapshot to Signls with Blocks, WordPress, and PHP versions, multisite status, and fixed aggregate 0 or 1 states for supported product capabilities and integrations. Random pseudonymous installation and device identifiers support delivery continuity. Blocks does not send content, field values, email or physical addresses, URLs, WordPress or commerce IDs, secrets, tokens, raw errors, customer or order data, messages, IP addresses, page journeys, plugin inventories, or arbitrary settings. Delivery receipts are retained for 90 days, the current snapshot is replaced by newer observations, and daily installation-level aggregates are retained for long-term product analysis.

Leave a Review

If Blocks is useful to you, please leave a review on WordPress.org.

更新日志:

View the complete release history. 26.08.07.23 Version 26.08.07.23 release notes 26.07.19.14 Version 26.07.19.14 release notes 26.07.13.21 Version 26.07.13.21 release notes 26.07.13.17 Version 26.07.13.17 release notes 26.07.12.13 Version 26.07.12.13 release notes 026.07.07.21 Version 026.07.07.21 release notes 026.07.07.15 Version 026.07.07.15 release notes 026.07.05.18 Version 026.07.05.18 release notes 026.02.22.22 Version 026.02.22.22 release notes 026.02.10.1904 Version 026.02.10.1904 release notes 026.01.30.1153 Version 026.01.30.1153 release notes 026.01.26.01 Version 026.01.26.01 release notes 025.12.29.19 Version 025.12.29.19 release notes 025.12.02.02 Version 025.12.02.02 release notes 25.11.05.1003 Version 25.11.05.1003 release notes 25.09.30.1006 Version 25.09.30.1006 release notes 1.6.55 Version 1.6.55 release notes 1.6.42 Version 1.6.42 release notes 1.6.23 Version 1.6.23 release notes 1.6.21 Version 1.6.21 release notes 1.6.6 Version 1.6.6 release notes 1.6.4 Version 1.6.4 release notes 1.6.3 Version 1.6.3 release notes 1.6.2 Version 1.6.2 release notes 1.6.1 Version 1.6.1 release notes 0.3 Version 0.3 release notes 0.0.21 Version 0.0.21 release notes 0.0.19 Version 0.0.19 release notes 0.0.9 Version 0.0.9 release notes 0.0.8 Version 0.0.8 release notes 0.0.6 Version 0.0.6 release notes