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,

Captures d’écran

  • 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.


Il n’y a aucun avis sur cette extension.

Contributeurs & développeurs

« Gap Block » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.


Traduisez « Gap Block » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Historique des changements


  • 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