Asset Block
This plugin adds an Asset Block for enqueueing registered scripts and styles in content, solving the issue of loading assets with patterns.
by Piotr Niewiadomski · github.com/piotrpress/wordpress-asset-block · website
★ 0stars
86composer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/piotrpress/wordpress-asset-block/archive/refs/heads/master.zipAlso on Packagist as piotrpress/asset-block:
composer require piotrpress/asset-blockDeclares an update source (false), so updates arrive through the plugin's own updater.
From the readme
WordPress Asset Block
This plugin adds an Asset Block for enqueueing registered scripts and styles in content, solving the issue of loading assets with patterns.
Usage
1. Register script or style
2. Add Asset Block in editor and select registered script or style
Requirements
PHP = 7.4 version.
WordPress = 6.0 version.
License
GPL v3 or later