lifterlms/lifterlms-blocks
最新稳定版本:2.7.0
Composer 安装命令:
composer require lifterlms/lifterlms-blocks
包简介
WordPress Editor (Gutenberg) blocks for LifterLMS.
README 文档
README
WordPress Editor (Gutenberg) blocks for LifterLMS.
Installing
Via LifterLMS
- Since LifterLMS 3.25.0-alpha.1 this plugin is automatically included in the LifterLMS core codebase
Installation of the plugin via Zip file
- Download the zip file using the "Clone or download" button
- On your WordPress admin panel navigate to Plugins -> Add New
- Upload the zip file
- Activate the plugin
Development
While developing Javascript within this plugin you can watch changes in the assets and (optionally) automatically reload using LiveReload
To watch changes in the assets/src directory, run npm start.
To use LiveReload, add the following to a mu-plugin to automatically reload during development:
// add_action( 'wp_head', 'add_live_reload' ); // Auto-reload frontend. // add_action( 'admin_head', 'add_live_reload' ); // Auto-reload admin panel. function add_live_reload() { echo '<script src="http://localhost:35729/livereload.js"></script>'; }
统计信息
- 总下载量: 158.31k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2018-11-15