
內容簡介
WordPress 自訂區塊外掛程式
★★★★★
開發商使用於 WordPress 自訂區塊的魔法棒。我們創建了 Lazy Blocks WordPress 外掛程式,協助每位開發商取得他們需要的功能強大的工具,以便能夠快速執行基於 WordPress 區塊編輯器 (稱為 Gutenberg) 的網站。
官方網站 | 文件 | GitHub
能夠直觀地建立自訂區塊,使用拖放方式添加控制項,以 HTML 或 PHP 編寫區塊輸出。您可以根據特定的文章類型創建自訂區塊以及自訂元資料欄位。此外,您還能夠為任何文章類型創建預定義的區塊的文章模板。
🚀 易於入門
只需要這些就能在 WordPress 編輯器中部署自訂區塊:
1. 設置自訂區塊 命名您的自訂區塊,設置圖示、類別,等等。
2. 添加控制項 添加控制項,如簡單文本和複雜的圖像選擇器。
3. 編寫輸出程式碼 使用支援 HTML 和 PHP 的輸出程式碼編寫自訂區塊的輸出程式碼。
🌟 功能
帶輸出程式碼的自訂區塊
用於文章元資料欄位的自訂區塊
大量預定義的控制項
在區塊內容/檢查員中顯示控制項
允許多種輸出方法
自訂 PHP
自訂 HTML + Handlebars
位於佈景主題資料夾中的模板檔案
匯出/匯入區塊
🔥 控制項
為了管理自訂區塊屬性,您需要使用控制項。 Lazy Blocks 為您預定義了許多控制項:
基本
文字
文字區域
數字
範圍
網址
郵件
密碼
內容
圖像
圖庫
檔案
RTF 範本
經典編輯器
代碼編輯器
內部區塊
選擇
選取
單選擇
複選擇
切換
進階
色彩選擇器
日期時間選擇器
佈局
重複器
自訂控制項閱讀我們的廣泛文件
🏳️ 多國語言
Lazy Blocks 為 WPML 添加了新的相容性層。自訂區塊的所有文字控制項都與 WPML 相容並準備進行翻譯。 https://www.lazyblocks.com/docs/multilingual/
🛠 為開發人員建立
Lazy Blocks 為開發人員建立,不限制自訂區塊的創建。此外,還有 PHP 過濾器和操作可從後端自定義自訂區塊的每個部分。可以使用 PHP 和佈景主題範本檔案作為區塊輸出。
外掛標籤
開發者團隊
② 後台搜尋「Custom Block Builder – Lazy Blocks」→ 直接安裝(推薦)
原文外掛簡介
Custom Blocks Plugin For WordPress
★★★★★
Developers magic wand for WordPress custom blocks. We created Lazy Blocks WordPress plugin, to help every developer get access to the powerful tools they need to quickly run websites based on WordPress block editor (called Gutenberg).
Official Site | Documentation | GitHub
Create custom blocks visually, add controls to your blocks using drag & drop, write blocks output using HTML or PHP code. You can create custom blocks as well as custom meta fields for specific post types. Furthermore, you are able to create post templates with predefined blocks for any post type.
🚀 Easy To Start
This everything you need to deploy your custom block in WordPress editor:
1. Configure Custom Block Give a name to your custom block, set icon, category, etc.
2. Add Controls Add control fields like simple text and complex image selectors.
3. Write Output Code Output code for your custom block with HTML and PHP support.
🌟 Features
Custom blocks with output code
Custom blocks for posts meta fields
Large set of predefined controls
Show controls in block content / inspector
Multiple output methods allowed
Custom PHP
Custom HTML + Handlebars
Template files in theme folder
Export / Import blocks
🔥 Controls
To manage custom blocks attributes you need to use Controls. Lazy Blocks have a large set of controls predefined for you:
Basic
Text
Textarea
Number
Range
URL
Email
Password
Content
Image
Gallery
File
Rich Text
Classic Editor
Code Editor
Inner Blocks
Choice
Select
Radio
Checkbox
Toggle
Advanced
Color Picker
Date Time Picker
Layout
Repeater
Custom Controls read our extensive documentation
🏳️ Multilingual
Lazy Blocks adds a new layer of compatibility for WPML. All text controls of custom blocks are compatible with WPML and ready for translation. https://www.lazyblocks.com/docs/multilingual/
🛠 Built For Developers
Lazy Blocks built by developers, for developers and gives you unlimited freedom to create custom blocks. Furthermore, there are PHP filters and actions to customize every part of your custom blocks from the backend. Possibility to use PHP and theme templates system.
Every UI part should be intuitive for simple custom blocks, but if you want to create something more complex, you may be required to read our extensive documentation.
🔥 Lazy Blocks Pro
The Lazy Blocks plugin is also available in a professional version which includes more controls and features! Learn more about Lazy Blocks Pro
In order to maintain the free version of the plugin on an ongoing basis, and to provide quick and effective support for free, we offer a Pro version of the plugin. The Pro version allows you to:
Additional Controls
Posts – Search and select posts based on post type or taxonomy
Taxonomy – Search and select categories, tags and any other custom taxonomies
Users – Search and select users based on user roles
Units – Advanced number input with possibility to select any CSS unit
Message – Display a helpful message between controls
Code Editor – Insert code parts using editor with syntax highlighting
Controls Conditions
Conditionally display/hide controls. In order not to overload your block with a huge list of controls, you can hide some of them depending on the values of other controls.
Styles & Scripts
Add custom CSS and JavaScript to your blocks. Define styles for editor and frontend, and script for interactive frontend functionality. Assets are automatically loaded only when needed for optimal performance.
Panels and Dividers
The Panels and Dividers provides a way to structure controls into groups. It assists in better organizing the block panel UI.
Blocks Preloading
Display blocks preview immediately once the page editor loaded.
SEO Enhancements
Additional support for content analysis in Rank Math and Yoast SEO plugins.
Find much more custom blocks features of Lazy Blocks Pro today!
