Gap Block


This block is intended to work with any WordPress theme that supports the new Block Editor (Gutenberg). It allow you to add responsive Gap / Spacer to your website and customize it, so you can set separate gap heights for different screen sizes (breakpoints) separately.


  • viewport sizes can be customized in plugin options page so you can use this plugin with any theme,
  • ready to use out of the box, no configuration needed,
  • set same height for all viewports or for each of it separately, so you can have bigger gap on desktop and smaller on mobile device within the same block,
  • customize default viewport widths settings using hooks programmatically (for theme authors),
  • create unlimited number of gaps and customize each of it separately,


  • Set custom gap for different screen widths
  • Customize screen width breakpoints and fit this plugin to your theme / website
  • You can set custom gap height for each screen width separately


  1. Install the plugin through the WordPress plugins screen directly or upload the plugin files to the „/wp-content/plugins/gap-block“ directory.
  2. Activate the plugin through the „Plugins“ screen in WordPress
  3. Go to Block Editor and type /gap to use this block.


Pre tento plugin nie sú žiadne recenzie.

Prispievatelia a vývojári

“Gap Block” je softvér s otvoreným zdrojovým kódom. Do tohto pluginu prispeli nasledujúci ľudia.


Preložiť „Gap Block“ do vašho jazyka.

Máte záujem o vývoj?

Prehľadávajte zdrojový kód, preskúmajte SVN repozitár, alebo sa prihláste na odber vývojárskeho logu cez RSS.

Zoznam zmien


  • compatibility with WP 5.4 confirmed
  • custom block collection registered


  • Blocks Summary page styles improved


  • Blocks Summary page styles improved
  • block editor outdated dependencies resolved


  • Blocks Summary page updated


  • fixed SSL issue


  • Blocks Summary page updated
  • removed outdated method from block class


  • JavaScript code fully rebuilt on React, no more jQuery
  • Blocks Summary page style & script improved
  • AJAX replaced with custom REST endpoint
  • license changed from GPL2+ to GPLv3
  • block code improved


  • dependencies bug fixed


  • initial release