Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/donvoorhies/lg_plugin/archive/refs/heads/initial-plugin-structure.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Liquid Glass UI Plugin
Development Note
The Gutenberg block in src/block.js uses JSX. This requires a build step to convert it into JavaScript that browsers can understand.
To set this up:
- Make sure you have Node.js and npm installed.
- Install
@wordpress/scripts:npm install @wordpress/scripts --save-dev - Add script commands to your
package.json:"scripts": { "build": "wp-scripts build src/block.js --output-path=build", "start": "wp-scripts start src/block.js --output-path=build" } - Run
npm run buildto build the block ornpm run startto start development mode. - Update
liquid_glass_ui_register_blockinliquid-glass-ui.phpto point tobuild/block.jsinstead ofsrc/block.js.