Ghost Kit – Blocks Collection


Ghost Kit is a blocks collection and powerful extensions for Gutenberg block editor. With this collection, you will gain more control over content just like with popular page builders. Just start with responsive Grid block and you can’t stop building the page 😉

We are using this plugin in our premium themes, so all the blocks are extensible and ready for developers.



  • Grid. Responsive grid block to build layouts of all shapes and sizes thanks to a twelve column system. Visual columns size and order change
  • Progress. Show the progress of your work, skills or earnings
  • Button. Change important links to buttons to get more click rate
  • Divider. Divide your long texts and blocks
  • Alert. Provide contextual feedback messages for user actions
  • Icon Box. Icons are one of the best visual replacement for text descriptions
  • Number Box. Show your progress and rewards using counting numbers
  • Accordion. Toggle the visibility of content across your project
  • Tabs. Separate content on the tabs with titles
  • Video. Plain and Fullscreen YouTube, Vimeo and Self-Hosted videos
  • Carousel. Carousel for any type of content – images or other blocks
  • Pricing Table. Sell your products or services and show all features
  • Testimonial. Show how your users love your products and what saying
  • Twitter. Show Twitter feed and user data
  • Instagram. Show Instagram feed and user data
  • Google Maps. Show maps with custom styles, markers and settings
  • GitHub Gist. Embed code parts form GitHub Gist to your site or documentation
  • Changelog. Show the changes log of your product
  • Widgetized Area. Select registered sidebars and put it in any place


  • Spacings. Easily add spacings in Ghost Kit and Core blocks
  • Display. Show and hide blocks Ghost Kit and Core blocks on different screen sizes
  • Animate on Scroll. Show with animation Ghost Kit and Core blocks on page scrolling
  • Custom CSS. This extension is available on all pages and let you add custom CSS for the current page
  • Customizer. This extension is available on all pages and let you change customizer options on the current page

Try Ghost Kit PRO Addon

Ghost Kit PRO Addon extends Ghost Kit functionality and improve your design experience. The list of PRO features:

  • 3 icon packs
  • Visual Grid editor
  • Grid full height option
  • Google Maps custom markers
  • Google Maps info boxes
  • Gradient backgrounds
  • Gradient text icons
  • Features list will grow in updates

If you like it or if you simply want to help us keep improving Ghost Kit plugin – Go Pro.


  • List of all available blocks
  • Responsive Grid
  • Progress Bar
  • Button
  • Divider
  • Accordion
  • Tabs
  • Carousel
  • Alert
  • Icon Box
  • Counter Box
  • Google Maps
  • Video
  • Testimonial
  • Instagram
  • Twitter
  • GitHub Gist
  • Changelog
  • Pricing Table
  • Blocks Extensions


Make sure you use WordPress 5 As alternative you need to install the Gutenberg plugin to use Ghost Kit.

Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of Ghost Kit, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type Ghost Kit and click Search Plugins. Once you’ve found our plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”.

Manual installation

The manual installation method involves downloading our Ghost Kit plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex contains instructions on how to do this here.


How to disable enqueued plugins (JS, CSS) on frontend

There are some plugins, enqueued with Ghost Kit on your page. If you don’t like the plugin and/or want to change it to your alternate plugin, you can disable it using filters. Example:

add_filter( 'gkt_enqueue_plugin_font_awesome', '__return_false' );

Available filters:

  • gkt_enqueue_plugin_font_awesome
  • gkt_enqueue_plugin_object_fit_images
  • gkt_enqueue_plugin_video_worker
  • gkt_enqueue_plugin_swiper
  • gkt_enqueue_plugin_gist_embed
  • gkt_enqueue_plugin_scrollreveal
How to extend existing blocks

You can add Variants to existing blocks, so you will be able to add your own styles for it:

add_filter( 'gkt_alert_variants', 'my_alert_variants' );

function my_alert_variants( $variants ) {
    return array_merge( $variants, array(
        'my_variant' => array(
            'title' => esc_html__( 'My Variant', 'ghostkit' ),
    ) );

Then, when editing block you will see the Variants select and on frontend you will see an additional classname on the block named ghostkit-alert-variant-my_variant

Available filters:

  • gkt_accordion_variants
  • gkt_accordion_item_variants
  • gkt_alert_variants
  • gkt_button_wrapper_variants
  • gkt_button_variants
  • gkt_carousel_variants
  • gkt_carousel_slide_variants
  • gkt_changelog_variants
  • gkt_counter_box_variants
  • gkt_divider_variants
  • gkt_gist_variants
  • gkt_google_maps_variants
  • gkt_grid_variants
  • gkt_grid_column_variants
  • gkt_icon_box_variants
  • gkt_instagram_variants
  • gkt_pricing_table_variants
  • gkt_pricing_table_item_variants
  • gkt_progress_variants
  • gkt_tabs_variants
  • gkt_tabs_tab_variants
  • gkt_testimonial_variants
  • gkt_twitter_variants
  • gkt_video_variants
How to extend existing blocks classnames

You can add additional classnames to blocks using JavaScript filters:

* Classnames filter.
* @param {String} className Classname applied to save and edit element.
* @param {Object} props  Block props.
* @return {String} Classname.
function customClassName( className, props ) {
    switch ( ) {
    case 'ghostkit/button-single':
        className += ' my-classname';


    return className;

wp.hooks.addFilter( 'ghostkit.blocks.className', 'ghostkit/my-new-className', customClassName );
wp.hooks.addFilter( 'ghostkit.editor.className', 'ghostkit/my-new-className', customClassName );

Available filters:

  • ghostkit.blocks.className
  • ghostkit.editor.className
How to extend icons in icon picker list

By default icon picker contains FontAwesome icons. You can add any icons you want. First of all you need to enqueue these icons in editor and frontend pages to see it, then extend icon picker using PHP filter:

// add icons list.
add_filter( 'gkt_icons_list', 'my_gkt_icons' );
function my_gkt_icons( $icons ) {
    $icons['my-icons-pack'] = array(
        'name' => 'My Icons',
        'icons' => array(
                'class' => 'fab fa-500px',
                'keys' => '500px',
                'class' => 'fab fa-500px',
                'keys' => '500px',

    return $icons;

// add icons assets
// will be automatically added in Editor and Frontend
add_action( 'gkt_icons_enqueue_assets__my-icons-pack', 'my_gkt_icons_enqueue_assets' );
function my_gkt_icons_enqueue_assets( $icons ) {
    wp_register_script( 'my-icons-pack', plugins_url( '/assets/my-icons-pack/script.min.js', __FILE__ ), array(), '1.0.0' );
jQuery frontend events

On frontend there are a lot of jQuery events. Usage example:

jQuery( document ).on( 'afterInitBlocks.ghostkit', function( evt, classObject ) {
    console.log( evt, classObject );
} );

Available events:

  • beforeInit.ghostkit
  • afterInit.ghostkit
  • beforeInitBlocks.ghostkit
  • afterInitBlocks.ghostkit
  • beforePrepareCounters.ghostkit
  • afterPrepareCounters.ghostkit
  • beforeRunCounters.ghostkit
  • afterRunCounters.ghostkit
  • beforePrepareCustomStyles.ghostkit
  • afterPrepareCustomStyles.ghostkit
  • beforePrepareTabs.ghostkit
  • afterPrepareTabs.ghostkit
  • beforePrepareAccordions.ghostkit
  • afterPrepareAccordions.ghostkit
  • beforePrepareCarousels.ghostkit
  • afterPrepareCarousels.ghostkit
  • beforePrepareVideo.ghostkit
  • afterPrepareVideo.ghostkit
  • beforePrepareGist.ghostkit
  • afterPrepareGist.ghostkit
  • beforePrepareChangelog.ghostkit
  • afterPrepareChangelog.ghostkit
  • beforePrepareGoogleMaps.ghostkit
  • beforePrepareGoogleMapsStart.ghostkit
  • beforePrepareGoogleMapsEnd.ghostkit
  • afterPrepareGoogleMaps.ghostkit
  • beforePrepareSR.ghostkit
  • afterPrepareSR.ghostkit



whithout the grid form the GhostKit Gutenberg is not really flexible. thanks for the PlugIn

The best block collection plugin right now

I've been reviewing block collection plugins and so far I have found only two plugins that provide good, quality blocks. GhostKit is the best, with really useful blocks & plenty of configuration options in every block. ¡Very well done, keep up the good work!
Read all 7 reviews

Contributors & Developers

“Ghost Kit – Blocks Collection” is open source software. The following people have contributed to this plugin.




  • fixed Tabs Legacy block extensions support


  • added background option for Grid and Column blocks (+ support image, video and parallax backgrounds with AWB plugin)
  • added Video block possibility to play videos on mobile devices without open new tab
  • added Video block autoplay & autopause options
  • added Icons to Button block
  • added extendable Icon Picker control with default FontAwesome icons
  • added draggable for Spacing inputs. Now you can change value using mouse and up, down keys
  • added plugin Settings page
  • added Tabs page hash support (old tabs are deprecated, you need to add new Tabs block on the page)
  • added controls to show/hide Pricing Table price/currency/repeat items
  • added ghostkit attribute with plugin parameters support for blocks (3rd-party blocks may be extended with Ghost Kit Extensions)
  • added :focus styles outline for Button block
  • added Ghost Kit PRO addon support
  • added ‘inserter’ and ‘reusable’ attributes with ‘false’ value in inner blocks
  • added icon in Ghost Kit blocks category
  • improved Grid block columns and row hovering styles
  • updated overall styles
    • changed offsets to em
    • changed changelog badges to solid color
    • added border-radius to some blocks
  • changed Video block image placeholder only visible until video start playing
  • changed Google Maps data-markers attribute to children blocks for each marker (better extensions possibility)
  • changed column structure (added content wrapper for better extensions possibility)
  • changed Grid Column editor classes (added variants and custom Ghost Kit unique class support)
  • removed inline toolbar from Tabs & Accordion
  • disabled Spacings inputs autocomplete
  • fixed IE11 Counter Box and Icon Box blocks with top icon and number
  • fixed Tabs block disappearing of tabs when renaming it
  • fixed Button line height in editor
  • fixed Accordion collapse icon size & position in editor
  • fixed Alert, Icon Box & Number Box editor content margins
  • fixed custom className duplicates in most of blocks
  • fixed Grid columns attributes resets to defaults after initial insertion
  • fixed Grid block full width align horizontal scrollbar in editor
  • fixed multiple rows in Grid block editor columns overlapping
  • fixed custom style unique class duplication after block clone
  • fixed inner blocks overlapping in editor Alert, Number Box & Icon Box blocks
  • fixed invisible video in some themes


  • added file types limitations in Video and Testimonial blocks
  • fixed WP 5.0 admin styles enqueue
  • fixed self-hosted videos play on mobile devices
  • fixed jQuery is undefined error in some of the themes


  • added jQuery custom events trigger
  • added img selector string in OFI script
  • improved ghostkit attributes – created only when custom styles added (before this update it was always added on all blocks)
  • changed main script to es6 class for extensions
  • fixed Google Maps marker address change
  • fixed some blocks broken after XML content importing (escaped characters in custom styles)


  • added number wrapper in counter box
  • changed carousel slides backgrounds in editor
  • fixed usage of deprecated PanelColor
  • fixed button line height in editor
  • fixed “Bar” label in progress bar background color control


  • added hover colors options to Alert, Number Box, Counter Box, Icon Box, Divider, Progress blocks
  • improved color pickers in blocks (show colors palette only in popover)
  • changed fullscreen video popup z-index to 1500
  • removed CodeEditor from Custom CSS since it removed in Gutenberg 4.2
  • fixed error in Customizer, Instagram, Twitter, Testimonial, Video blocks in Gutenberg 4.2
  • fixed Animate on Scroll zoom effect
  • minor changes


  • fixed selected image preview in Inspector (Video and Testimonial blocks)


  • added default InnerBlocks in Alert, Number Box, Icon Box, Testimonial, Changelog
  • fixed Gutenberg 4.0 Spacing extension and Grid Columns options
  • fixed Gutenberg 4.0 number attribute type automatic convert
  • fixed Gutenberg 4.0 Button block url input width
  • fixed Pricing Table block variant name to extend it
  • fixed Pricing Table block error when enabled showPopular option
  • fixed Pricing Table block padding in features list
  • fixed Pricing Table block bottom margin on mobile devices
  • fixed Grid block fullwidth styles in editor
  • fixed Google Maps block markers show when no custom map Style defined


  • deprecated Customizer and Custom CSS blocks. This functionality you can find in the top right corner of the editor
  • added multiple buttons support in Button block. Be careful, Button block may lose some settings when you update the plugin
  • added Instagram block
  • added Twitter block
  • added Pricing Table block
  • added widget for reusable blocks to use in sidebars
  • added anchor support to almost all blocks
  • improved Animate on Scroll extension (added more options)
  • changed default blocks color
  • changed button block url input style (now floating)
  • changed Spacings extension (device selector changed to tabs)
  • prevent adding extensions on reusable blocks
  • fixed php error when Gutenberg plugin is not activated
  • fixed animate in viewport, when on the screen > 1 counters or progress bars
  • fixed styles rendering for new and duplicated blocks
  • fixed first loading of Customizer block
  • fixed php notices in customizer
  • fixed custom styles in transformed blocks
  • minor changes


  • added Animate in viewport options in Number Box and Progress Bar
  • added Animate on Scroll extension (use scrollreveal library)
  • added Custom CSS block styles in editor to preview
  • extensions moved from Advanced inspector to bottom of Inspector Controls
  • renamed extension Indents to Spacings
  • fixed column sticky position 0
  • fixed Google Maps placeholder marker icon map overlap
  • fixed Google Maps deprecated object


  • added Google Maps block
  • added !important style support in Spacings extension
  • changed plugin logo


  • added Changelog block
  • added Widgetized Area block
  • added vertical align buttons in Grid toolbar
  • added predefined layouts in Grid block (when you first insert Grid, you can choose)
  • updated some block icons
  • fixed Gist block table styles bug in default themes
  • fixed possible bug with “0” number output in some blocks


  • added Gist block transformation from url
  • added option collapseOne to Accordion block
  • added option count to Progress block
  • added helper toolbar with predefined styles to Alert block
  • added helper toolbar with line type to Divider block
  • improved Grid column responsive settings (added tabs for each device)
  • changed icons to use <svg> instead of <img>


  • improved blocks JS initialization. Support dynamic blocks (for example after AJAX content loading)
  • updated block icons


  • added support for Gutenberg 3.7.0
  • improved custom styles extension (simplified code and prevent console warnings)



  • added Testimonial block
  • added Divider block
  • added support for some Kirki fields in Customizer block
  • added Fullscreen click action in Video block
  • added column block Sticky option
  • updated FontAwesome to 5.2.0
  • changed RichText usage (some blocks may break)
  • removed wp-block-… classname from all blocks
  • fixed Customizer and Custom CSS blocks save meta data in custom posts
  • fixed Custom CSS block styles escaping (escape > and <)
  • fixed columns centering in Grid block editor
  • fixed GitHub Gist block iOs smooth scroll
  • minor fixes


  • Initial Release