前言介紹
- 這款 WordPress 外掛「Bootstrap Blocks」是 2019-03-28 上架。
- 目前有 10000 個安裝啟用數。
- 上一次更新是 2023-11-19,距離現在已有 531 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 5.3 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
- 有 27 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
liip | tschortsch |
外掛標籤
blocks | bootstrap | gutenberg |
內容簡介
Bootstrap Gutenberg Blocks 是一款 WordPress 外掛,此外掛會將 Bootstrap 元件及佈局選項作為 Gutenberg 區塊加入。
功能
支援 Bootstrap v5 和 v4
支援 CSS grid(實驗功能)
透過篩選器提供完全自訂
可透過選項頁面或常數在程式中進行配置
區塊範本可在您的主題中取代
此外掛的完整文件可在 GitHub 上找到:https://github.com/liip/bootstrap-blocks-wordpress-plugin#readme
可用區塊
容器
選項:
流體:啟用後,容器會使用整個可用寬度,覆蓋整個視窗寬度。
流體斷點:用於啟用 回應式容器。此功能僅適用於 Bootstrap v4.4+。容器將使用 100% 的寬度,直到到達指定的斷點,之後將為每個更高的斷點定義的最大寬度應用。
容器後的邊距:定義要添加到容器後面的邊距。
列
選項:
範本:從預定義的範本中為內部 column 區塊選擇。
無間距:在列之間關閉間距。
水平對齊:內部 column 區塊的水平對齊方式。
垂直對齊:內部 column 區塊的垂直對齊方式。
編輯器堆疊列:在編輯器中顯示堆疊列,以增強區塊內容的可讀性。
水平間距:水平間距的大小。
垂直間距:垂直間距的大小。
CSS Grid 間距:當使用 CSS grid 時楨距的大小。
欄
選項:
所有斷點(xxl、xl、lg、md、sm、xs)的大小:為指定的斷點定義欄位應使用多少空間。
所有斷點的等寬:如果啟用,欄將與其他欄以相等的寬度加以擴展。
背景顏色:設定欄位的背景顏色。
內容垂直對齊:垂直對齊欄內容。只有在設置背景顏色時才需要此選項。否則請使用外部 row 區塊的對齊方式。
填充:定義欄位內的填充。
按鈕
選項:
樣式:選擇按鈕的樣式。
在新分頁中打開:選擇鏈接是否要在新分頁中開啟。
Rel:設置鏈接的 rel 屬性。
對齊方式:按鈕的水平對齊方式。
支援的 Bootstrap 版本
此外掛支援 Bootstrap v4 和 v5。
該版本可以在外掛設置(設置 > Bootstrap Blocks)中選擇或者通過在 wp-config.php 檔案中定義 WP_BOOTSTRAP_BLOCKS_BOOTSTRAP_VERSION 常數進行選擇:
Bootstrap 4(預設值):define('WP_BOOTSTRAP_BLOCKS_BOOTSTRAP_VERSION','4' );
Bootstrap 5:define('WP_BOOTSTRAP_BLOCKS_BOOTSTRAP_VERSION','5' );
現在可能的值是 '4' 或 '5',默認情況下選擇 Bootstrap 版本 5。
CSS Grid
可以在外掛設置(設置 > Bootstrap Blocks)中啟用 CSS grid(支援 Bootstrap >= 5.1.0),或者通過定義在常數中進行啟用。
原文外掛簡介
Bootstrap Gutenberg Blocks for WordPress. This plugin adds Bootstrap components and layout options as Gutenberg blocks.
Features
Supports Bootstrap v5 and v4
Support for CSS grid (experimental)
Fully customizable with filters
Configuration via option page or programmatically with constants
Block templates can be overwritten in your theme
The full documentation of this plugin can be found on GitHub: https://github.com/liip/bootstrap-blocks-wordpress-plugin#readme
Available Blocks
Container
Options:
Fluid: If enabled the container will use the full available width, spanning the entire width of the viewport.
Fluid Breakpoint: Used to enable responsive containers. This feature only works with Bootstrap v4.4+. The container will use 100% of the width until the specified breakpoint is reached, after which the defined max-widths will apply for each of the higher breakpoints.
Margin After: Define a margin which should be added after the container.
Row
Options:
Template: Choose from a predefined template for the inner column blocks.
No Gutters: Disable gutters between columns.
Alignment: Horizontal alignment of inner column blocks.
Vertical Alignment: Vertical alignment of inner column blocks.
Editor stack columns: Displays stacked columns in the editor to enhance readability of block content.
Horizontal Gutters: Size of horizontal gutters.
Vertical Gutters: Size of vertical gutters.
CSS Grid Gutters: Size of gutters when CSS grid is used.
Column
Options:
Sizes for all breakpoints (xxl, xl, lg, md, sm, xs): How much space the column should use for the given breakpoint.
Equal width for all breakpoints (xxl, xl, lg, md, sm, xs): If enabled column will spread width evenly with other columns.
Background Color: Set background color to column.
Content vertical alignment: Align content vertically in column. This option is only needed if a background color is set. Otherwise use the Alignment option of the outer row block.
Padding: Define padding inside the column.
Button
Options:
Style: Choose the styling of the button.
Open in new tab: Choose if link should be opened in a new tab.
Rel: Set rel attribute of the link.
Alignment: Horizontal alignment of the button.
Supported Bootstrap versions
This plugin supports Bootstrap v4 and v5.
The version can be selected in the plugin settings (Settings > Bootstrap Blocks) or by defining the WP_BOOTSTRAP_BLOCKS_BOOTSTRAP_VERSION constant in the wp-config.php file:
Bootstrap 4: define( 'WP_BOOTSTRAP_BLOCKS_BOOTSTRAP_VERSION', '4' );
Bootstrap 5 (default): define( 'WP_BOOTSTRAP_BLOCKS_BOOTSTRAP_VERSION', '5' );
Possible values right now are '4' or '5'. By default Bootstrap version 5 is selected.
CSS Grid
The CSS grid (supported with Bootstrap >= 5.1.0) can be enabled in the plugin settings (Settings > Bootstrap Blocks) or by defining the WP_BOOTSTRAP_BLOCKS_ENABLE_CSS_GRID constant in the wp-config.php file:
eg. define( 'WP_BOOTSTRAP_BLOCKS_ENABLE_CSS_GRID', true );
When the CSS grid is enabled the row and the column blocks will use custom templates for the rendering process:
Row: row-css.grid.php
Column: column-css-grid.php
The support is still experimental since it’s also marked as experimental in the Bootstarp library. Please read the official Bootstrap documentation to get more information on how to use it.
Bootstrap library
Please be aware that this plugin does not include the Bootstrap library in your website. You need to do this by yourself. We decided not to include the library so that you can modify Bootstrap to your own needs before loading it.
You’ll find an example how to include it in your theme’s functions.php in the documentation.
Templates
All blocks are implemented as dynamic blocks. This makes it possible to overwrite the template of a block in your theme.
To overwrite a block template create a folder called wp-bootstrap-blocks/ in your theme directory. You can copy the original template from wp-bootstrap-blocks/src/templates/
Requirements
WordPress >= 5.0
PHP >= 5.6
Further Information
Documentation: https://github.com/liip/bootstrap-blocks-wordpress-plugin#readme
WordPress Plugin: https://wordpress.org/plugins/wp-bootstrap-blocks
GitHub Repository: https://github.com/liip/bootstrap-blocks-wordpress-plugin
Changelog: https://github.com/liip/bootstrap-blocks-wordpress-plugin/releases
Issue tracker: https://github.com/liip/bootstrap-blocks-wordpress-plugin/issues
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Bootstrap Blocks」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.1.0 | 1.2.0 | 1.3.0 | 1.3.1 | 1.4.0 | 2.0.0 | 2.0.1 | 2.1.0 | 2.2.0 | 2.3.0 | 2.3.1 | 2.4.0 | 2.4.1 | 2.4.2 | 2.4.3 | 3.0.0 | 3.1.0 | 3.1.1 | 3.1.2 | 3.1.3 | 3.2.0 | 3.3.0 | 3.3.1 | 3.3.2 | 4.0.0 | 4.0.1 | 4.1.0 | 4.2.0 | 4.2.1 | 4.3.0 | 4.3.1 | 5.0.0 | 5.1.0 | 5.2.0 | trunk |
延伸相關外掛(你可能也想知道)
Classic Editor 》Classic Editor 是由 WordPress 團隊維護的官方外掛程式,可還原之前(也就是「經典」)的 WordPress 編輯器和「編輯文章」畫面,使使用者可以使用延伸這個畫...。
Advanced Editor Tools 》高級編輯工具(以前稱為 TinyMCE Advanced)引入了一個「經典段落」區塊,供區塊編輯器(Gutenberg)使用。, 如果您還沒有準備好切換到區塊編輯器,或者有插...。
Classic Widgets 》Classic Widgets 是由 WordPress 團隊維護的官方外掛,能夠恢復先前(即「經典」)的 WordPress widgets 設定畫面。該外掛將於 2024 年或必要時保持支援和維...。
Starter Templates – AI-Powered Templates for Elementor & Gutenberg 》免費模板,支援 Elementor、Beaver Builder 和 Block Editor, 使用 Starter Templates 外掛,只需數分鐘即可建立專業且完美的網站。此外掛為使用者提供超過 2...。
Spectra Gutenberg Blocks – Website Builder for the Block Editor 》a.com/tutorials/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme" rel="nofollow ugc">Spectra tutorials, you can easily learn how to ...。
Disable Gutenberg 》此外掛可禁用新的 Gutenberg 編輯器 (也稱為區塊編輯器),並以經典編輯器取代它。你可以完全禁用 Gutenberg,或從文章、頁面、角色、文章類型和主題模板中有...。
Gutenberg Blocks with AI by Kadence WP – Page Builder Features 》Kadence Blocks 是一個 WordPress 外掛,它附加自訂區塊和選項,擴展了 Gutenberg 編輯功能,使您能夠輕鬆創建美麗的網站,而不需要任何程式編寫。Kadence Bl...。
Extendify 》Extendify 是一個網站設計和製作工具平台,提供豐富的圖案和全頁面佈局,可用於 Gutenberg 區塊編輯器,幫助人們建立美麗的 WordPress 網站。, 使用 Extendif...。
Page Builder Gutenberg Blocks – CoBlocks 》, 注意:對於已受 CoBlocks 3.0.0 版本影響的使用者,請查看我們在 WordPress.org 支援論壇文章,如果您需要支援,請建立新的主題帖。, , CoBlocks 是新版 Gu...。
Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE 》Otter 是一款 Gutenberg Blocks 頁面建構外掛,可為 WordPress Block Editor(又稱 Gutenberg)添加額外功能,讓您享受更好的頁面建構體驗,而無需使用傳統的...。
AI Powered Starter Templates by Kadence WP 》用三個滑鼠點擊建立一個美觀的「效能優化」網站, 在幾分鐘內創建和自定義專業設計的網站。, Kadence Starter Templates 為您提供使用 WordPress 區塊構建器的...。
GenerateBlocks 》將不同的功能整合至編輯器,但並不會因為過多的一維方塊造成內容過於臃腫。使用 GenerateBlocks,您只需深入學習少量的方塊,即可用於創建任何內容。, Genera...。
VK Blocks 》這是一個擴充 Gutenberg 模塊的外掛。, [ 模塊 ], , 成員, 外框, 警示, 常問問題, 氣球, 流, 按鈕, 公關模塊, 公關內容, 邊框盒, 標題(帶副標題), 響應間距...。
Stackable – Page Builder Gutenberg Blocks 》終極與古鐸版衣搭檔, Stackable 是您一直在等待的終極可靠古鐸版衣搭檔。使用堅強、輕便的自訂區塊、現成設計、UI套件、全域設定和高級自訂選項建立動態網站...。
Kubio AI Page Builder 》, , Kubio 是一個創新的基於區塊的 WordPress 網站建立工具,它以全新的區塊來擴充編輯器功能並提供使用者無限的樣式選項。透過先進的編輯功能,Kubio 使用者...。