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/sara-p-/wbg-blocks/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Example block scaffolded with Create Block tool.
Description
This is the long description. No limit, and you can use Markdown (as well as in the following sections).
For backwards compatibility, if this section is missing, the full length of the short description will be used, and Markdown parsed.
Installation
This section describes how to install the plugin and get it working.
e.g.
- Upload the plugin files to the
/wp-content/plugins/wbg-blocksdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress
Frequently Asked Questions
Screenshots
- This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from
the /assets directory or the directory that contains the stable readme.txt (tags or trunk). Screenshots in the /assets
directory take precedence. For example,
/assets/screenshot-1.pngwould win over/tags/4.3/screenshot-1.png(or jpg, jpeg, gif). - This is the second screen shot
Changelog
0.1.0
- Release
Arbitrary section
To add or remove SVG icons to the plugin (that are used in various blocks), add the svg file to /assets/icons/, then edit the /inc/icon-helper.php file, as well as the /assets/js/icons.js file.