gocodebox / lifterlms-blocks

WordPress Editor (Gutenberg) blocks for LifterLMS.
4 stars 12 forks source link
elearning hacktoberfest lifterlms lms node php react wordpress wordpress-plugin

LifterLMS Blocks

Test PHPUnit PHP Code Coverage Report Coding Standards Maintainability Test Coverage

WordPress Editor (Gutenberg) blocks for LifterLMS.


Installing

Via LifterLMS

Installation of the plugin via Zip file

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>';
}