
內容簡介
Blocks 外掛可讓使用者創建可重複使用的內容區塊、全域內容短碼及網站變數,簡化內容管理流程。透過簡單的短碼,使用者能在多個位置插入相同內容,並可隨時更新,提升網站維護效率。
【主要功能】
• 創建可重複使用的內容區塊
• 使用短碼在多個位置插入內容
• 更新所有插入位置的內容
• 定義網站變數如電話號碼和電子郵件
• 支援多種編輯器和佈局工具
• 進行區塊和變數的進口與出口
外掛標籤
開發者團隊
② 後台搜尋「Blocks – Reusable Content, Shortcodes & Site Variables」→ 直接安裝(推薦)
原文外掛簡介
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
Create reusable content once: manage a source block and display it in multiple locations.
Insert content with a shortcode: use a shortcode such as [block id="42"] in posts, pages, widgets, templates, and builders.
Update every placement: edit the source block instead of changing repeated content one page at a time.
Define site variables: reuse values such as phone numbers, email addresses, prices, and the current year.
Built-in tokens for your site info: {{blocks:phone}}, {{blocks:email}}, {{blocks:address}}, {{blocks:year}}, {{blocks:site_title}}, and more; the blocks: prefix means tokens never collide with other plugins.
Resolve variables everywhere (optional): tokens also work typed directly into regular content, widgets, and page-builder text.
Work across editors and builders: ships integrations for Gutenberg, Elementor, Divi, Bricks, Beaver Builder, WPBakery, Oxygen, Breakdance, Zion, Thrive, and Fusion (Avada).
Import and export: move blocks and variables between sites using a single JSON file.
Organize reusable content: use categories and tags for larger content libraries.
Blocks is one of our free WordPress plugins. Browse the full plugin collection.
