Blocks: Reusable Content, Shortcodes & Site Variables

Описание

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.

Explore Blocks and see examples.

Блоки

Этот плагин предоставляет 1 блок.

  • Block

Установка

  1. In WordPress, go to Plugins > Add New and search for «Blocks».
  2. Click Install Now, then Activate.
  3. Open Blocks > Add New, write your content and publish it.
  4. 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.

Отзывы

27.03.2022
Exactement ce que je cherchais pour gérer des blocs réutilisables à insérer aussi bien dans les articles que dans les widgets. Opération réussie : simple, léger, efficace, rendu impeccable et aucun conflit avec les autres plugins. Ma version de wordpress 5.9.2. Merci
03.09.2016
Love the features, but the plugin inserts a line of text that says "Site Crafted in Orlando — Florida", links the site name to WordPress.org, and adds a css that completely restyles the login. No way to turn that feature off =/ Screenshot without the plugin Screenshot with the plugin
03.09.2016 1 ответ
As "hookedontronics" already mentioned in detail in his 1-star-rating this plugin adds links and also has broken my login form. I have invested hours to find out from where this bug in login form is coming. I will uninstall it and use another block plugin. Not a good way from developer to push his plugin and seo rankings.
03.09.2016
Unless you want your website to be hijacked by Renzo Johnson (http://renzojohnson.com/), STAY AWAY from his plugins. Renzo is a scam developer who inserts hidden code and links into WordPress plugins to insert several hidden links and massive keywords promoting him and his website without the user's knowledge. The casual WordPress user may not notice, however using Google Analytics and tools such as Zippy Keyword Density, you will find that he inserts massive amounts of weblinks to his website and keywords such as: "Renzo Johnson" "Front end developer" "Orlando Developer" "Mailchimp" "Mailchimp Developer" "form" "mailchimp" "deverloper" . These will by far take priority. This will have a drastic negative affect on your SEO with sites like Google, Yahoo and others. [See blackhat SEO for more details]. Again, this has a very negative affect on your site's search engine optimization. To remove, simply deactivate the plugin, select delete and remove all data! Further, reject this developer and spread the word. We don't need this trash.
Посмотреть все 5 отзывов

Участники и разработчики

«Blocks: Reusable Content, Shortcodes & Site Variables» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Журнал изменений

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

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