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 acros
About this tool.
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 .
Getting started.
- 01In WordPress, go to Plugins > Add New and search for “Blocks”.
- 02Click Install Now , then Activate .
- 03Open Blocks > Add New , write your content and publish it.
- 04Copy 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.