Bootstrap Gutenberg Blocks for WordPress
color
attribute of the styleOptions
for the button block to bgColor
. Additionally added textColor
attribute to be able to change the text color of the button in the editor as well. If you are modifying the styleOptions
via the wpBootstrapBlocks.button.styleOptions
JavaScript filter please add the according colors to your style objects.IconButton
component (will be removed in WordPress 6.2).Starting with this version the plugin only supports WordPress versions >= 5.3. This step was needed to be able to catch up with the current development practices and remove a lot of deprecations.
5.x
. Please check in the settings if your using the appropriate version of Bootstrap after updating to this release.NOTICE: Version 4.x of the plugin will be the last version to support WordPress versions lower than 5.3. If you're on a lower version of WordPress think about updating it if you still would like receive updates for this plugin.
color
attribute is missing in styleOptions
.style
attribute of the Button block to primary
. This shouldn't be a breaking change since the template already added the btn-primary
class if no style
was selected.color
attribute to the styleOptions
to be able to display the buttons in the correct color in the editor. If you have changed the styleOptions
via the wpBootstrapBlocks.button.styleOptions
JavaScript filter please add the according colors to your style objects.<Blockname> (Bootstrap)
for better discoverability when searching for a block.wpBootstrapBlocks.row.verticalGuttersOptions
JavaScript filter to modify the options please check if the new option (gy-4
) doesn't conflict with your custom options.This version adds (experimental) support for Bootstraps CSS grid. Please read the documentation for further information.
$enable-cssgrid: true
setting has to be enabled in your Bootstrap variables file.wpBootstrapBlocks.row.cssGridGuttersOptions
for CSS grid. Please read the documentation for further information.wp_bootstrap_blocks_row_css_grid_classes
, wp_bootstrap_blocks_row_css_grid_styles
, wp_bootstrap_blocks_column_css_grid_classes
, wp_bootstrap_blocks_column_css_grid_content_classes
. Please read the documentation for further information.column-css-grid.php
, row-css-grid.php