WordPress editor extension to create and manage grids.

Maintainers

👁 jsor

Package info

github.com/dotsunited/wordpress-plugin-editor-grid

Language:JavaScript

Type:wordpress-plugin

pkg:composer/dotsunited-wordpress-plugin/editor-grid

Statistics

Installs: 136

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 0

v3.0.1 2017-01-13 12:11 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT d4932ac53e8149292e389721e9e31d1bfb4d6f9f

pluginwordpresseditorgrid

This package is auto-updated.

Last update: 2026-06-05 22:40:10 UTC


README

A lightweight WordPress Plugin to create and manage grids via the WordPress Post Editor.

Installation

Install with

composer require dotsunited-wordpress-plugin/editor-grid

Note: This plugin does not automatically add the required styles to the frontend pages (only to the Admin Editor), in order to prevent multiple css files from multiple plugins in the site header (which would ruin the pagespeed).

The incorporation into a Webpack workflow with LESS is encouraged.

You can find an example boilerplate for possible frontend styles here, and for a possible WordPress-Webpack setup here.

The HTML generated by the plugin looks like this:

<div class="editor-grid editor-grid-shadow editor-grid-background">
 <div class="editor-grid-container">
 <div class="editor-grid-unit editor-grid-unit-6 editor-grid-shadow editor-grid-background-highlight">
 <!-- Content -->
 </div>
 <div class="editor-grid-unit editor-grid-unit-6 editor-grid-background">
 <!-- Content -->
 </div>
 </div>
</div>

Enabling for additional editors

The grid plugin can be enabled for other editors by registering the editor IDs through the dotsunited_editor_grid_editor_ids filter.

add_filter('dotsunited_editor_grid_editor_ids', function($editor_ids) {
 // WP Editor Widget plugin
 $editor_ids[] = 'wpeditorwidget';
 return $editor_ids;
});

License

Copyright (c) 2015-2018 Dots United GmbH. Released under the MIT license.