Plugin Name
开发者 |
pauliusk
|
更新时间 |
2017年4月9日 01:58 |
PHP版本: |
4.6 及以上 |
WordPress版本: |
4.7 |
版权: |
GPLv2 |
版权网址: |
版权信息
|
详情介绍:
With this plugin you can achieve complex grid layouts because each block can be placed anywhere in the canvas
with a set width and height. Grid is also responsive therefor on mobile each block will be placed on top of each other.
This plugin also provides a developer API for extending plugin capabilities. You can create your own custom block types with their
own options. To see available option field types for your block check config.php - "field_types". To see available field options
see config.php - "field_params". To see individual block (shortocode) options see config.php - "shortcode_params".
This plugin strongly uses wordpress shortcode API, that mean each block type is a wordpress shortcode. To register a new block type
use the gbMap function. This function should return an array of instruction of how this shortcode is structured: it's attributes (fields), base name (the same name you register to wordpress with add_shortcode function). You can see examples of how the array is structured in
shortcodes.php file. The shortcodes that you register to the grid builder also needs to be registered to wordpress (as you regularly would create a wordpress shortcode).
安装:
- Upload the plugin files to the
/wp-content/plugins/grid-builder
directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the 'Plugins' screen in WordPress
- Create grid layouts through Grid > Add new