Flexible Spacer Block switches the height of the spacer according to the device screen width (breakpoints).
This block has two variable breakpoints, and you can adjust the height of the spacer for smartphones, tablets, and desktops respectively.
The height of the spacers can be changed individually or in batches.
Also available to set "negative space (negative margin)" instead of the normal space.
And this block supports transform from and to core spacer block.
安装:
Upload the flexible-spacer-block folder to the /wp-content/plugins/ directory.
Activate the plugin through the \'Plugins\' menu in WordPress.
屏幕截图:
常见问题:
What filters can I use?
You can find a list of the available filters in the Github readme.
更新日志:
2.5.0
Tested to WordPress 6.7
Drop support for WordPress 6.4
2.4.0
Tested to WordPress 6.6
Drop support for WordPress 6.3
2.3.0
Tested to WordPress 6.5
Enhancement: Polish block style
Enhancement: Polish settings page style
Fix: Remove unnecessary CSS class
Drop support for WordPress 6.2
2.2.0
Tested to WordPress 6.4
Drop support for WordPress 6.0, 6.1
2.1.0
Tested to WordPress 6.3
Add: unit support
Drop support for WordPress5.9
Drop support for PHP7.3
2.0.0
Tested to WordPress 6.2
Feature: Add default values setting
Enhancement: Remove focus style for unit elements on the setting page
Enhancement: Improve error messages on the setting page
Fix: Responsive Setting value is empty for certain operations
Fix: grammer in the setting page
1.4.1
Clean: Remove files not needed for the release
1.4.0
Tested to WordPress 6.1
Drop support for WordPress 5.6 through 5.8
Fix: Not converting correctly from core spacer block
Enhancement: Polish style in the setting page
1.3.0
Tested to WordPress 6.0
Update: Minify inline styles
Add: filter hooks
Update: block icon
Update: author name
Fix: CSS files are not loaded in the iframe editor on WordPress 6.0
1.2.3
Change: Ensure minimum height of the block
Change: Minimum value of the spacer
Fix: Unable to change the height of spacer in WordPress 5.9.1
1.2.2
Clean: Remove unnecessary file included in the release