Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dotsunited/wordpress-plugin-editor-grid
WordPress editor extension to create and manage grids.
https://github.com/dotsunited/wordpress-plugin-editor-grid
Last synced: about 1 month ago
JSON representation
WordPress editor extension to create and manage grids.
- Host: GitHub
- URL: https://github.com/dotsunited/wordpress-plugin-editor-grid
- Owner: dotsunited
- License: mit
- Created: 2015-10-30T11:10:46.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-22T21:20:10.000Z (almost 7 years ago)
- Last Synced: 2024-10-01T16:17:00.425Z (about 2 months ago)
- Language: JavaScript
- Size: 43.9 KB
- Stars: 3
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
WordPress Editor Grid Plugin
===A lightweight WordPress Plugin to create and manage grids via the WordPress Post Editor.
Installation
---Install with
```bash
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](https://github.com/webpack/webpack) workflow
with LESS is encouraged.You can find an example boilerplate for possible frontend styles
[here](https://github.com/dotsunited/wordpress-boilerplate/blob/master/assets/main/editor-grid/style.less),
and for a possible WordPress-Webpack setup
[here](https://github.com/dotsunited/wordpress-boilerplate/blob/master/webpack.config.js).The HTML generated by the plugin looks like this:
```html
```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.```php
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) license.