Add spacing to custom block

Plugin Author



sure, eg. when you create ACF block you can just use

if( isset( $block['tempID'] ) && $block['tempID'] ){
	$className .= ' bs-' . $block['tempID'];

or if you use PRO version of this plugin you can also support global spacing

if( isset( $block['bsGlobalSpacing'] ) && $block['bsGlobalSpacing'] ){
	$className .= ' ' . $block['bsGlobalSpacing'];


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer