Описание
Change your content once and update every place that uses it. Blocks gives your announcements, calls to action and support notices a shared home in WordPress. Create a block, place it on your pages, then edit the original whenever the message changes.
Keep your phone number and address current across your site with site variables. Move a library of reusable content to another site with one export. Your content stays with you when you change themes or page builders.
Spend less time on repeated edits
- Update every placement from one editor. Reuse a block in pages, posts, widgets and supported builders with a shortcode such as
[block id="42"]. - Keep contact details consistent. Use tokens such as
{{blocks:phone}},{{blocks:email}}and{{blocks:year}}for values you manage in one place. - Bring your content to your next site. Export blocks and variables as one JSON file, then import them with a choice to keep or overwrite matching blocks.
- Find the block you need. Organize your library with categories and tags, and use the native Block element in your editor or supported page builder.
Put reusable content to work
Turn a block into an announcement banner or popup. Choose when a popup appears and how long a dismissed notice stays hidden. Optional content types let you manage FAQs, feature lists, a glossary and release notes.
Blocks includes integrations for Gutenberg, Elementor, Divi, Bricks, Beaver Builder, WPBakery, Oxygen, Breakdance, Zion, Thrive and Fusion (Avada). You can also place its shortcode wherever WordPress processes shortcodes.
Блоки
Этот плагин предоставляет 1 блок.
- Block
Установка
- In WordPress, go to Plugins > Add New and search for «Blocks».
- Click Install Now, then Activate.
- Open Blocks > Add New, write your content and publish it.
- Copy the block’s shortcode and add it where the content should appear.
For a ZIP installation, go to Plugins > Add New > Upload Plugin, select your Blocks ZIP, install it and activate it.
Blocks requires WordPress 6.2 or later and PHP 7.4 or later. Follow the getting started guide for editor and builder examples.
Часто задаваемые вопросы
-
How do I update content in several places?
-
Edit the source block under Blocks. Every placement using its shortcode or native builder element displays the updated published content.
-
Can I use Blocks with my page builder?
-
Yes. Use the native Block element in a supported builder or place a shortcode such as
[block id="42"]in a module that processes WordPress shortcodes. See the builder guide. -
How do site variables work?
-
Store a value once and use its token, such as
{{blocks:phone}}, inside your blocks, popups or banners. Enable «resolve variables everywhere» to use tokens in regular content and supported widget or builder text too. Read the site variables guide. -
Can I move blocks to another site?
-
Yes. Export your blocks and variables from Import / Export, then import the JSON file on the other site. Matching blocks are kept unless you choose to overwrite them. See the import and export guide.
-
What happens when I move a block to Trash?
-
The block stops appearing on the public site. You can restore it from the Trash view. Draft, pending and private blocks also stay out of public shortcode output.
-
Where can I get help?
-
Visit the Blocks guide or contact the team. Read our privacy policy.
Отзывы
Участники и разработчики
«Blocks: Reusable Content, Shortcodes & Site Variables» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «Blocks: Reusable Content, Shortcodes & Site Variables» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
View the complete release history.
26.10.06.21
Version 26.10.06.21 release notes
26.09.03.15
Version 26.09.03.15 release notes
26.08.22.22
Version 26.08.22.22 release notes
26.08.22.20
Version 26.08.22.20 release notes
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
